Cross-site scripting on application summary component in argo-cd
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/argoproj/argo-cdGo | >= 1.0.0, <= 1.8.7 | — |
github.com/argoproj/argo-cd/v2Go | >= 2.9.0, < 2.9.8 | 2.9.8 |
github.com/argoproj/argo-cd/v2Go | >= 2.10.0, < 2.10.3 | 2.10.3 |
github.com/argoproj/argo-cd/v2Go | >= 2.0.0, < 2.8.12 | 2.8.12 |
Affected products
16- osv-coords15 versionspkg:apk/chainguard/argo-cd-2.9pkg:apk/chainguard/argo-cd-2.9-compatpkg:apk/chainguard/argo-cd-2.9-repo-serverpkg:apk/chainguard/argo-cd-fips-2.10pkg:apk/chainguard/argo-cd-fips-2.10-compatpkg:apk/chainguard/argo-cd-fips-2.10-repo-serverpkg:apk/chainguard/argo-cd-fips-2.9pkg:apk/chainguard/argo-cd-fips-2.9-compatpkg:apk/chainguard/argo-cd-fips-2.9-repo-serverpkg:apk/wolfi/argo-cd-2.9pkg:apk/wolfi/argo-cd-2.9-compatpkg:apk/wolfi/argo-cd-2.9-repo-serverpkg:bitnami/argo-cdpkg:golang/github.com/argoproj/argo-cdpkg:golang/github.com/argoproj/argo-cd/v2
< 2.9.8-r0+ 14 more
- (no CPE)range: < 2.9.8-r0
- (no CPE)range: < 2.9.8-r0
- (no CPE)range: < 2.9.8-r0
- (no CPE)range: < 2.10.3-r0
- (no CPE)range: < 2.10.3-r0
- (no CPE)range: < 2.10.3-r0
- (no CPE)range: < 2.9.8-r0
- (no CPE)range: < 2.9.8-r0
- (no CPE)range: < 2.9.8-r0
- (no CPE)range: < 2.9.8-r0
- (no CPE)range: < 2.9.8-r0
- (no CPE)range: < 2.9.8-r0
- (no CPE)range: >= 1.0.0, < 2.10.3
- (no CPE)range: >= 1.0.0, <= 1.8.7
- (no CPE)range: >= 2.9.0, < 2.9.8
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-jwv5-8mqv-g387ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-28175ghsaADVISORY
- github.com/argoproj/argo-cd/commit/479b5544b57dc9ef767d49f7003f39602c480b71ghsax_refsource_MISCWEB
- github.com/argoproj/argo-cd/security/advisories/GHSA-jwv5-8mqv-g387ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.