CVE-2024-28175
Cross-site scripting on application summary component in argo-cd
Reported by github_m · Published March 13, 2024
github.com/argoproj/argo-cd/v2 is fixed in 2.10.3, 2.9.8 and 2.8.12 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/argoproj/argo-cd/v2 | Go Modules | 2.10.3, 2.9.8, 2.8.12 |
| github.com/argoproj/argo-cd | Go Modules | 1.8.7 |
| argo-cd | Bitnami | 2.10.3 |
| argo-cd-2.9 | Wolfi | 2.9.8-r0 |
| argo-cd-fips-2.9 | Chainguard | 2.9.8-r0 |
| argo-cd-2.9 | Chainguard | 2.9.8-r0 |
| argo-cd-fips-2.10 | Chainguard | 2.10.3-r0 |
| argo_cd | argoproj | 2.10.3, 2.9.8, 2.8.12 |
| argo-cd | Bitnami | 2.10.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| argoproj | argo-cd | >= 1.0.0, < 2.8.12, >= 2.9.0, < 2.9.8, >= 2.10.0, < 2.10.3 |
| github.com | argoproj/argo-cd/v2 | 2.9.0, 2.0.0, 2.10.0 |
| wolfi | argo-cd-2.9 | 0 |
| github.com | argoproj/argo-cd | 1.0.0 |
| chainguard | argo-cd-fips-2.9 | 0 |
| chainguard | argo-cd-2.9 | 0 |
| argoproj | argo_cd | 2.10.0, 2.9.0, 1.0.0 |
| chainguard | argo-cd-fips-2.10 | 0 |
| argoproj | argo-cd | 2.10.0, 1.0.0, 2.9.0 |
Timeline
- Mar 13, 2024 CVE Published
- Mar 13, 2024 PoC Published (3 in total, the first dated here)
- Mar 14, 2024 EPSS Score (30 in total, the first dated here)
- Aug 21, 2024 CVE Updated
- Oct 4, 2024 Coalition ESS Score (14 in total, the first dated here)
- Jan 14, 2026 Security Advisory (4 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (3 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-28175
vulnetix vdb fixes CVE-2024-28175
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-28175/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-jwv5-8mqv-g387 x_refsource_CONFIRM
- https://github.com/argoproj/argo-cd/commit/479b5544b57dc9ef767d49f7003f39602c480b71 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2024-28175 advisory
- https://github.com/advisories/GHSA-jwv5-8mqv-g387 advisory
- https://github.com/argoproj/argo-cd url