gsd-2022-31035
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
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.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2022-31035",
    "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\u0027s 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.",
    "id": "GSD-2022-31035",
    "references": [
      "https://access.redhat.com/errata/RHSA-2022:5152",
      "https://access.redhat.com/errata/RHSA-2022:5187",
      "https://access.redhat.com/errata/RHSA-2022:5192",
      "https://access.redhat.com/errata/RHSA-2022:5153"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-31035"
      ],
      "details": "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\u0027s 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.",
      "id": "GSD-2022-31035",
      "modified": "2023-12-13T01:19:18.158533Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-31035",
        "STATE": "PUBLIC",
        "TITLE": "External URLs for Deployments can include javascript in argo-cd"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "argo-cd",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "\u003e= 1.0.0, \u003c 2.1.16"
                        },
                        {
                          "version_value": "\u003e= 2.2.0, \u003c 2.2.10"
                        },
                        {
                          "version_value": "\u003e= 2.3.0, \u003c 2.3.5"
                        },
                        {
                          "version_value": "\u003e= 2.4.0, \u003c 2.4.1"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "argoproj"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "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\u0027s 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."
          }
        ]
      },
      "impact": {
        "cvss": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 9.0,
          "baseSeverity": "CRITICAL",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "scope": "CHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H",
          "version": "3.1"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrj",
            "refsource": "CONFIRM",
            "url": "https://github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrj"
          },
          {
            "name": "https://github.com/argoproj/argo-cd/commit/8bc3ef690de29c68a36f473908774346a44d4038",
            "refsource": "MISC",
            "url": "https://github.com/argoproj/argo-cd/commit/8bc3ef690de29c68a36f473908774346a44d4038"
          },
          {
            "name": "https://argo-cd.readthedocs.io/en/stable/user-guide/external-url/",
            "refsource": "MISC",
            "url": "https://argo-cd.readthedocs.io/en/stable/user-guide/external-url/"
          }
        ]
      },
      "source": {
        "advisory": "GHSA-h4w9-6x78-8vrj",
        "discovery": "UNKNOWN"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=v1.0.0 \u003c=v1.8.7",
          "affected_versions": "All versions starting from 1.0.0 up to 1.8.7",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2022-06-21",
          "description": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027) in github.com/argoproj/argo-cd.",
          "fixed_versions": [
            "v2.1.16"
          ],
          "identifier": "GMS-2022-2555",
          "identifiers": [
            "GHSA-h4w9-6x78-8vrj",
            "GMS-2022-2555",
            "CVE-2022-31035"
          ],
          "not_impacted": "All versions before 1.0.0, all versions after 1.8.7",
          "package_slug": "go/github.com/argoproj/argo-cd",
          "pubdate": "2022-06-21",
          "solution": "Upgrade to version 2.1.16 or above.",
          "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
          "urls": [
            "https://github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrj",
            "https://github.com/advisories/GHSA-h4w9-6x78-8vrj"
          ],
          "uuid": "c1fb6294-44b0-47ee-a58d-796e4fe50318",
          "versions": [
            {
              "commit": {
                "sha": "c74ca22023cbee245cb83fb23224978fbe23703c",
                "tags": [
                  "v1.0.0"
                ],
                "timestamp": "20190516200040"
              },
              "number": "v1.0.0"
            },
            {
              "commit": {
                "sha": "eb3d1fb84b9b77cdffd70b14c4f949f1c64a9416",
                "tags": [
                  "v1.8.7"
                ],
                "timestamp": "20210303070237"
              },
              "number": "v1.8.7"
            },
            {
              "commit": {
                "sha": "903db5fe464032bd5a10bf32fe17639e76634c2a",
                "tags": [
                  "v2.1.16"
                ],
                "timestamp": "20220621161926"
              },
              "number": "v2.1.16"
            }
          ]
        },
        {
          "affected_range": "\u003cv2.1.16 || \u003e=v2.2.0 \u003cv2.2.10 || \u003e=v2.3.0 \u003cv2.3.5 || =v2.4.0",
          "affected_versions": "All versions before 2.1.16, all versions starting from 2.2.0 before 2.2.10, all versions starting from 2.3.0 before 2.3.5, version 2.4.0",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2022-06-21",
          "description": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027) in github.com/argoproj/argo-cd/v2.",
          "fixed_versions": [
            "v2.1.16",
            "v2.2.10",
            "v2.3.5",
            "v2.4.1"
          ],
          "identifier": "GMS-2022-2559",
          "identifiers": [
            "GHSA-h4w9-6x78-8vrj",
            "GMS-2022-2559",
            "CVE-2022-31035"
          ],
          "not_impacted": "All versions starting from 2.1.16 before 2.2.0, all versions starting from 2.2.10 before 2.3.0, all versions starting from 2.3.5 before 2.4.0, all versions after 2.4.0",
          "package_slug": "go/github.com/argoproj/argo-cd/v2",
          "pubdate": "2022-06-21",
          "solution": "Upgrade to versions 2.1.16, 2.2.10, 2.3.5, 2.4.1 or above.",
          "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
          "urls": [
            "https://github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrj",
            "https://github.com/advisories/GHSA-h4w9-6x78-8vrj"
          ],
          "uuid": "292ce867-f8d6-4736-819d-521126a5d0f2",
          "versions": [
            {
              "commit": {
                "sha": "6da92a8e8103ce4145bb0fe2b7e952be79c9ff0a",
                "tags": [
                  "v2.2.0"
                ],
                "timestamp": "20211214180104"
              },
              "number": "v2.2.0"
            },
            {
              "commit": {
                "sha": "fe427802293b090f43f91f5839393174df6c3b3a",
                "tags": [
                  "v2.3.0"
                ],
                "timestamp": "20220306061859"
              },
              "number": "v2.3.0"
            },
            {
              "commit": {
                "sha": "91aefabc5b213a258ddcfe04b8e69bb4a2dd2566",
                "tags": [
                  "stable",
                  "v2.4.0"
                ],
                "timestamp": "20220610171343"
              },
              "number": "v2.4.0"
            },
            {
              "commit": {
                "sha": "903db5fe464032bd5a10bf32fe17639e76634c2a",
                "tags": [
                  "v2.1.16"
                ],
                "timestamp": "20220621161926"
              },
              "number": "v2.1.16"
            },
            {
              "commit": {
                "sha": "8db0e57b738ff5b0b276031573576fdc3498c04f",
                "tags": [
                  "v2.2.10"
                ],
                "timestamp": "20220621162737"
              },
              "number": "v2.2.10"
            },
            {
              "commit": {
                "sha": "52e6025f8b565705025d029e8bed36d6caa5ecf7",
                "tags": [
                  "v2.4.1"
                ],
                "timestamp": "20220621162747"
              },
              "number": "v2.4.1"
            },
            {
              "commit": {
                "sha": "1287d24bfe47bcaa6e791e5ff12fa1c1bf57a442",
                "tags": [
                  "v2.3.5"
                ],
                "timestamp": "20220621162823"
              },
              "number": "v2.3.5"
            }
          ]
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:linuxfoundation:argo-cd:2.3.4:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:linuxfoundation:argo-cd:2.4.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:linuxfoundation:argo-cd:2.2.9:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:linuxfoundation:argo-cd:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "2.1.16",
                "versionStartIncluding": "1.0.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security-advisories@github.com",
          "ID": "CVE-2022-31035"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "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\u0027s 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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-79"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://argo-cd.readthedocs.io/en/stable/user-guide/external-url/",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://argo-cd.readthedocs.io/en/stable/user-guide/external-url/"
            },
            {
              "name": "https://github.com/argoproj/argo-cd/commit/8bc3ef690de29c68a36f473908774346a44d4038",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/argoproj/argo-cd/commit/8bc3ef690de29c68a36f473908774346a44d4038"
            },
            {
              "name": "https://github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrj",
              "refsource": "CONFIRM",
              "tags": [
                "Mitigation",
                "Third Party Advisory"
              ],
              "url": "https://github.com/argoproj/argo-cd/security/advisories/GHSA-h4w9-6x78-8vrj"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "SINGLE",
            "availabilityImpact": "NONE",
            "baseScore": 3.5,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:S/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 6.8,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "LOW",
          "userInteractionRequired": true
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 5.4,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 2.3,
          "impactScore": 2.7
        }
      },
      "lastModifiedDate": "2022-07-07T17:09Z",
      "publishedDate": "2022-06-27T19:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.