Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/argoproj/argo-cd/v2
  4. ›
  5. CVE-2024-31990

CVE-2024-31990: Argo CD's API server does not enforce project sourceNamespaces

April 15, 2024

I can convince the UI to let me do things with an invalid Application.

  1. Admin gives me p, michael, applications, *, demo/*, allow, where demo can just deploy to the demo namespace
  2. Admin gives me AppProject dev which reconciles from ns dev-apps
  3. Admin gives me p, michael, applications, sync, dev/*, allow, i.e. no updating via the UI allowed, gitops-only
  4. I create an Application called pwn in dev-apps with project dev and sync the app with sources from git
  5. I change the Application’s project to demo via kubectl or gitops (whichever mechanism my admins have given me, because it should be safe)
  6. I use the UI to edit the resource which should only be mutable via gitops

References

  • github.com/advisories/GHSA-2gvw-w6fj-7m3c
  • github.com/argoproj/argo-cd
  • github.com/argoproj/argo-cd/commit/c514105af739eebedb9dbe89d8a6dd8dfc30bb2c
  • github.com/argoproj/argo-cd/commit/c5a252c4cc260e240e2074794aedb861d07e9ca5
  • github.com/argoproj/argo-cd/commit/e0ff56d89fbd7d066e9c862b30337f6520f13f17
  • github.com/argoproj/argo-cd/security/advisories/GHSA-2gvw-w6fj-7m3c
  • nvd.nist.gov/vuln/detail/CVE-2024-31990

Code Behaviors & Features

Detect and mitigate CVE-2024-31990 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.4.0 before 2.8.16, all versions starting from 2.9.0 before 2.9.12, all versions starting from 2.10.0 before 2.10.7

Fixed versions

  • 2.8.16
  • 2.9.12
  • 2.10.7

Solution

Upgrade to versions 2.10.7, 2.8.16, 2.9.12 or above.

Impact 4.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

go/github.com/argoproj/argo-cd/v2/CVE-2024-31990.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:22 +0000.