CVE-2022-31035

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:linuxfoundation:argo-cd:*:*:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:argo-cd:2.2.9:*:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:argo-cd:2.3.4:*:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:argo-cd:2.4.0:*:*:*:*:*:*:*

History

07 Jul 2022, 17:09

Type Values Removed Values Added
First Time Linuxfoundation
Linuxfoundation argo-cd
CVSS v2 : unknown
v3 : unknown
v2 : 3.5
v3 : 5.4
CPE cpe:2.3:a:linuxfoundation:argo-cd:2.2.9:*:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:argo-cd:*:*:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:argo-cd:2.4.0:*:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:argo-cd:2.3.4:*:*:*:*:*:*:*
References (CONFIRM) https://github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrj - (CONFIRM) https://github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrj - Mitigation, Third Party Advisory
References (MISC) https://github.com/argoproj/argo-cd/commit/8bc3ef690de29c68a36f473908774346a44d4038 - (MISC) https://github.com/argoproj/argo-cd/commit/8bc3ef690de29c68a36f473908774346a44d4038 - Patch, Third Party Advisory
References (MISC) https://argo-cd.readthedocs.io/en/stable/user-guide/external-url/ - (MISC) https://argo-cd.readthedocs.io/en/stable/user-guide/external-url/ - Vendor Advisory

27 Jun 2022, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-06-27 19:15

Updated : 2023-12-10 14:22


NVD link : CVE-2022-31035

Mitre link : CVE-2022-31035

CVE.ORG link : CVE-2022-31035


JSON object : View

Products Affected

linuxfoundation

  • argo-cd
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')