CVE-2024-28175: Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes.
Medium CVSS 5.4
- CVE id
- CVE-2024-28175
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Argo CD Runtimes and servers |
>= 1.0.0, < 2.8.12 >= 2.9.0, < 2.9.8 >= 2.10.0, < 2.10.3 |
2.8.12, 2.9.8, 2.10.3 |
How to fix it
Upgrade Argo CD to the fixed release of the line you run: 2.8.12, 2.9.8, 2.10.3.
- Upgrade Argo CD (the quay.io/argoproj/argocd image, or the argo-cd Helm chart) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Due to the improper URL protocols filtering of links specified in the link.argocd.argoproj.io annotations in the application summary component, an attacker can achieve cross-site scripting with elevated permissions. All unpatched versions of Argo CD starting with v1.0.0 are vulnerable to a cross-site scripting (XSS) bug allowing a malicious user to inject a javascript: link in the UI. When clicked by a victim user, the script will execute with the victim's permissions (up to and including admin). This vulnerability allows an attacker to perform arbitrary actions on behalf of the victim via the API, such as creating, modifying, and deleting Kubernetes resources. A patch for this vulnerability has been released in Argo CD versions v2.10.3 v2.9.8, and v2.8.12. There are no completely-safe workarounds besides upgrading. The safest alternative, if upgrading is not possible, would be to create a Kubernetes admission controller to reject any resources with an annotation starting with link.argocd.argoproj.io or reject the resource if the value use an improper URL protocol. This validation will need to be applied in all clusters managed by ArgoCD.
References
- CVE-2024-28175 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-28175
- Web: https://github.com/argoproj/argo-cd/commit/479b5544b57dc9ef767d49f7003f39602c480b71
- Web: https://github.com/argoproj/argo-cd/security/advisories/GHSA-jwv5-8mqv-g387
- Web: https://github.com/argoproj/argo-cd/commit/479b5544b57dc9ef767d49f7003f39602c480b71
- Web: https://github.com/argoproj/argo-cd/security/advisories/GHSA-jwv5-8mqv-g387
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.