Search criteria

1 vulnerability by Argo CD

CVE-2021-23135 (GCVE-0-2021-23135)

Vulnerability from cvelistv5 – Published: 2021-05-12 22:45 – Updated: 2024-09-16 19:04
VLAI?
Title
Argo CD leaked secret data into error messages and logs on invalid edits via UI
Summary
Exposure of System Data to an Unauthorized Control Sphere vulnerability in web UI of Argo CD allows attacker to cause leaked secret data into web UI error messages and logs. This issue affects Argo CD 1.8 versions prior to 1.8.7; 1.7 versions prior to 1.7.14.
CWE
  • CWE-497 - Exposure of System Data to an Unauthorized Control Sphere
Assigner
References
Impacted products
Vendor Product Version
Argo CD Argo CD Affected: 1.8 , < 1.8.7 (custom)
Affected: 1.7 , < 1.7.14 (custom)
Create a notification for this product.
Credits
Ezekiel Keator of Palo Alto Networks Kevin Huang of Palo Alto Networks
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T18:58:26.360Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/argoproj/argo-cd/security/advisories/GHSA-fp89-h8pj-8894"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "Argo CD",
          "vendor": "Argo CD",
          "versions": [
            {
              "lessThan": "1.8.7",
              "status": "affected",
              "version": "1.8",
              "versionType": "custom"
            },
            {
              "lessThan": "1.7.14",
              "status": "affected",
              "version": "1.7",
              "versionType": "custom"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Ezekiel Keator of Palo Alto Networks"
        },
        {
          "lang": "en",
          "value": "Kevin Huang of Palo Alto Networks"
        }
      ],
      "datePublic": "2021-03-15T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "Exposure of System Data to an Unauthorized Control Sphere vulnerability in web UI of Argo CD allows attacker to cause leaked secret data into web UI error messages and logs. This issue affects Argo CD 1.8 versions prior to 1.8.7; 1.7 versions prior to 1.7.14."
        }
      ],
      "exploits": [
        {
          "lang": "en",
          "value": "When a user with update permissions to an Application was editing a Secret resources\u0027s manifest in the UI with invalid input (e.g. adding a new key with a value not encoded in base64), Argo CD would print the contents of the Secret as an error message in JSON format.\n\nAs this error message is user visible, this was effectively circumventing the redaction feature of Argo CD. Also, as this error message is being logged, the plain-text contents of the Secret ended up in the log files and possibly, in log management systems."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 5.9,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-497",
              "description": "CWE-497 Exposure of System Data to an Unauthorized Control Sphere",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2021-05-12T22:45:13",
        "orgId": "d6c1279f-00f6-4ef7-9217-f89ffe703ec0",
        "shortName": "palo_alto"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/argoproj/argo-cd/security/advisories/GHSA-fp89-h8pj-8894"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "Patched versions: Argo CD 1.7.14, 1.8.7"
        }
      ],
      "source": {
        "advisory": "GHSA-fp89-h8pj-8894",
        "discovery": "USER"
      },
      "title": "Argo CD leaked secret data into error messages and logs on invalid edits via UI",
      "x_generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "psirt@paloaltonetworks.com",
          "DATE_PUBLIC": "2021-03-15T22:31:00.000Z",
          "ID": "CVE-2021-23135",
          "STATE": "PUBLIC",
          "TITLE": "Argo CD leaked secret data into error messages and logs on invalid edits via UI"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "Argo CD",
                      "version": {
                        "version_data": [
                          {
                            "version_affected": "\u003c",
                            "version_name": "1.8",
                            "version_value": "1.8.7"
                          },
                          {
                            "version_affected": "\u003c",
                            "version_name": "1.7",
                            "version_value": "1.7.14"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "Argo CD"
              }
            ]
          }
        },
        "credit": [
          {
            "lang": "eng",
            "value": "Ezekiel Keator of Palo Alto Networks"
          },
          {
            "lang": "eng",
            "value": "Kevin Huang of Palo Alto Networks"
          }
        ],
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "Exposure of System Data to an Unauthorized Control Sphere vulnerability in web UI of Argo CD allows attacker to cause leaked secret data into web UI error messages and logs. This issue affects Argo CD 1.8 versions prior to 1.8.7; 1.7 versions prior to 1.7.14."
            }
          ]
        },
        "exploit": [
          {
            "lang": "en",
            "value": "When a user with update permissions to an Application was editing a Secret resources\u0027s manifest in the UI with invalid input (e.g. adding a new key with a value not encoded in base64), Argo CD would print the contents of the Secret as an error message in JSON format.\n\nAs this error message is user visible, this was effectively circumventing the redaction feature of Argo CD. Also, as this error message is being logged, the plain-text contents of the Secret ended up in the log files and possibly, in log management systems."
          }
        ],
        "generator": {
          "engine": "Vulnogram 0.0.9"
        },
        "impact": {
          "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 5.9,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N",
            "version": "3.1"
          }
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "CWE-497 Exposure of System Data to an Unauthorized Control Sphere"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/argoproj/argo-cd/security/advisories/GHSA-fp89-h8pj-8894",
              "refsource": "MISC",
              "url": "https://github.com/argoproj/argo-cd/security/advisories/GHSA-fp89-h8pj-8894"
            }
          ]
        },
        "solution": [
          {
            "lang": "en",
            "value": "Patched versions: Argo CD 1.7.14, 1.8.7"
          }
        ],
        "source": {
          "advisory": "GHSA-fp89-h8pj-8894",
          "discovery": "USER"
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "d6c1279f-00f6-4ef7-9217-f89ffe703ec0",
    "assignerShortName": "palo_alto",
    "cveId": "CVE-2021-23135",
    "datePublished": "2021-05-12T22:45:13.917033Z",
    "dateReserved": "2021-01-06T00:00:00",
    "dateUpdated": "2024-09-16T19:04:08.194Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}