Skip to main content
← All vulnerabilities
CVE-2024-28175GHSA-JWV5-8MQV-G387BIT-ARGO-CD-2024-28175GO-2024-2646

Cross-site scripting on application summary component in argo-cd

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.8.12, 2.9.8, 2.10.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • argoproj argo-cd

    From 1.0.0 · fixed in 2.8.12; From 2.9.0 · fixed in 2.9.8; From 2.10.0 · fixed in 2.10.3

  • github.com/argoproj/argo-cdGo

    From 1.0.0 · through 1.8.7

  • github.com/argoproj/argo-cd/v2Go

    From 2.9.0 · fixed in 2.9.8

  • github.com/argoproj/argo-cd/v2Go

    From 2.10.0 · fixed in 2.10.3

  • github.com/argoproj/argo-cd/v2Go

    From 2.0.0 · fixed in 2.8.12

  • github.com/argoproj/argo-cdGo

    From 1.0.0

  • github.com/argoproj/argo-cd/v2Go

    From 2.0.0 · fixed in 2.8.12; From 2.9.0 · fixed in 2.9.8; From 2.10.0 · fixed in 2.10.3

References 2

GitHub · argoproj/argo-cd