9.0
CRITICAL
CVE-2022-31035
Argo CD Cross-Site Scripting (XSS) Vulnerability
Description

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.

INFO

Published Date :

June 27, 2022, 7:15 p.m.

Last Modified :

Aug. 7, 2024, 3:43 p.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

2.3
Affected Products

The following products are affected by CVE-2022-31035 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linuxfoundation argo-cd
1 Argoproj argo_cd
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-31035.

URL Resource
https://argo-cd.readthedocs.io/en/stable/user-guide/external-url/ Vendor Advisory
https://github.com/argoproj/argo-cd/commit/8bc3ef690de29c68a36f473908774346a44d4038 Patch Third Party Advisory
https://github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrj Mitigation Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-31035 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-31035 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CPE Deprecation Remap by [email protected]

    Aug. 07, 2024

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:2.3.4:*:*:*:*:*:*:* OR *cpe:2.3:a:argoproj:argo_cd:2.3.4:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 07, 2024

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:2.2.9:*:*:*:*:*:*:* OR *cpe:2.3:a:argoproj:argo_cd:2.2.9:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 07, 2024

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:*:*:*:*:*:*:*:* versions from (including) 1.0.0 from (excluding) 2.1.16 OR *cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:* versions from (including) 1.0.0 from (excluding) 2.1.16
  • CPE Deprecation Remap by [email protected]

    Aug. 07, 2024

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:2.4.0:*:*:*:*:*:*:* OR *cpe:2.3:a:argoproj:argo_cd:2.4.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jul. 07, 2022

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:N/I:P/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type https://argo-cd.readthedocs.io/en/stable/user-guide/external-url/ No Types Assigned https://argo-cd.readthedocs.io/en/stable/user-guide/external-url/ Vendor Advisory
    Changed Reference Type https://github.com/argoproj/argo-cd/commit/8bc3ef690de29c68a36f473908774346a44d4038 No Types Assigned https://github.com/argoproj/argo-cd/commit/8bc3ef690de29c68a36f473908774346a44d4038 Patch, Third Party Advisory
    Changed Reference Type https://github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrj No Types Assigned https://github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrj Mitigation, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:linuxfoundation:argo-cd:*:*:*:*:*:*:*:* versions from (including) 1.0.0 up to (excluding) 2.1.16 *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:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-31035 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-31035 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.07 }} 0.00%

score

0.28984

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability