Skip to main content
← All vulnerabilities
CVE-2022-31035GO-2022-0498GHSA-H4W9-6X78-8VRJ

External URLs for Deployments can include javascript in argo-cd

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.1.16, 2.2.10, 2.3.5, 2.4.1
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. All 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). The script would be capable of doing anything which is possible in the UI or via the API, such as creating, modifying, and deleting Kubernetes resources. A patch for this vulnerability has been released in the following Argo CD versions: v2.4.1, v2.3.5, v2.2.10 and v2.1.16. There are no completely-safe workarounds besides upgrading.

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.1.16; From 2.2.0 · fixed in 2.2.10; From 2.3.0 · fixed in 2.3.5; From 2.4.0 · fixed in 2.4.1

  • github.com/argoproj/argo-cdGo

    From 1.0.0

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

    fixed in 2.1.16; From 2.2.0 · fixed in 2.2.10; From 2.3.0 · fixed in 2.3.5; From 2.4.0 · fixed in 2.4.1

  • github.com/argoproj/argo-cdGo

    From 1.0.0 · fixed in 2.1.16

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

    fixed in 2.1.16

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

    From 2.2.0 · fixed in 2.2.10

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

    From 2.3.0 · fixed in 2.3.5

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

    From 2.4.0 · fixed in 2.4.1

References 3

GitHub · argoproj/argo-cd

argo-cd.readthedocs.io