gsd-2020-25864
Vulnerability from gsd
Modified
2023-12-13 01:21
Details
HashiCorp Consul and Consul Enterprise up to version 1.9.4 key-value (KV) raw mode was vulnerable to cross-site scripting. Fixed in 1.9.5, 1.8.10 and 1.7.14.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2020-25864",
    "description": "HashiCorp Consul and Consul Enterprise up to version 1.9.4 key-value (KV) raw mode was vulnerable to cross-site scripting. Fixed in 1.9.5, 1.8.10 and 1.7.14.",
    "id": "GSD-2020-25864",
    "references": [
      "https://security.archlinux.org/CVE-2020-25864"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2020-25864"
      ],
      "details": "HashiCorp Consul and Consul Enterprise up to version 1.9.4 key-value (KV) raw mode was vulnerable to cross-site scripting. Fixed in 1.9.5, 1.8.10 and 1.7.14.",
      "id": "GSD-2020-25864",
      "modified": "2023-12-13T01:21:57.033974Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2020-25864",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "HashiCorp Consul and Consul Enterprise up to version 1.9.4 key-value (KV) raw mode was vulnerable to cross-site scripting. Fixed in 1.9.5, 1.8.10 and 1.7.14."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://www.hashicorp.com/blog/category/consul",
            "refsource": "MISC",
            "url": "https://www.hashicorp.com/blog/category/consul"
          },
          {
            "name": "https://discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368",
            "refsource": "MISC",
            "url": "https://discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368"
          },
          {
            "name": "GLSA-202208-09",
            "refsource": "GENTOO",
            "url": "https://security.gentoo.org/glsa/202208-09"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c1.7.14||\u003e=1.8.0 \u003c1.8.10||\u003e=1.9.0 \u003c1.9.5",
          "affected_versions": "All versions before 1.7.14, all versions starting from 1.8.0 before 1.8.10, all versions starting from 1.9.0 before 1.9.5",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2023-06-09",
          "description": "HashiCorp Consul and Consul Enterprise up to version 1.9.4 key-value (KV) raw mode was vulnerable to cross-site scripting. Fixed in 1.9.5, 1.8.10 and 1.7.14.",
          "fixed_versions": [
            "1.8.10",
            "1.9.5",
            "1.7.14"
          ],
          "identifier": "CVE-2020-25864",
          "identifiers": [
            "GHSA-8xmx-h8rq-h94j",
            "CVE-2020-25864"
          ],
          "not_impacted": "All versions starting from 1.7.14 before 1.8.0, all versions starting from 1.8.10 before 1.9.0, all versions starting from 1.9.5",
          "package_slug": "go/github.com/hashicorp/consul",
          "pubdate": "2022-05-24",
          "solution": "Upgrade to versions 1.8.10, 1.9.5, 1.7.14 or above.",
          "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2020-25864",
            "https://discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368",
            "https://www.hashicorp.com/blog/category/consul",
            "https://security.gentoo.org/glsa/202208-09",
            "https://github.com/advisories/GHSA-8xmx-h8rq-h94j"
          ],
          "uuid": "e90607d3-a8b9-499f-8224-4999c0cc856e"
        },
        {
          "affected_range": "\u003cv1.7.14 || \u003e=v1.8.0 \u003cv1.8.10 || \u003e=v1.9.0 \u003cv1.9.5",
          "affected_versions": "All versions before 1.7.14, all versions starting from 1.8.0 before 1.8.10, all versions starting from 1.9.0 before 1.9.5",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2021-04-23",
          "description": "A vulnerability was identified in Consul and Consul Enterprise such that a specially crafted key-value entry could be used to perform a cross-site scripting (XSS) attack when viewed in Consul KV API\u2019s raw mode.",
          "fixed_versions": [
            "v1.7.14",
            "v1.8.10",
            "v1.9.5"
          ],
          "identifier": "CVE-2020-25864",
          "identifiers": [
            "CVE-2020-25864"
          ],
          "not_impacted": "All versions starting from 1.7.14 before 1.8.0, all versions starting from 1.8.10 before 1.9.0, all versions starting from 1.9.5",
          "package_slug": "go/github.com/hashicorp/consul/acl",
          "pubdate": "2021-04-20",
          "solution": "Upgrade to versions 1.7.14, 1.8.10, 1.9.5 or above.",
          "title": "Cross-site Scripting",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2020-25864",
            "https://discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368",
            "https://www.hashicorp.com/blog/category/consul"
          ],
          "uuid": "b37813d5-32d6-4d64-b0ad-a8c22d6673f9",
          "versions": [
            {
              "commit": {
                "sha": "f87651b862ccc2634a174b7eddc23692d4436348",
                "tags": [
                  "v1.8.0"
                ],
                "timestamp": "20200618182624"
              },
              "number": "v1.8.0"
            },
            {
              "commit": {
                "sha": "0e06cada935d33208c080b6a912cb9683f961dee",
                "tags": [
                  "v1.9.0"
                ],
                "timestamp": "20201124190548"
              },
              "number": "v1.9.0"
            },
            {
              "commit": {
                "sha": "79cff04dbb63b562f7e095c7ec2d6deb868e6632",
                "tags": [
                  "v1.9.5"
                ],
                "timestamp": "20210415181503"
              },
              "number": "v1.9.5"
            },
            {
              "commit": {
                "sha": "52dcebfcb7305fbc7b2af81e78952003b4d25add",
                "tags": [
                  "v1.8.10"
                ],
                "timestamp": "20210415181540"
              },
              "number": "v1.8.10"
            },
            {
              "commit": {
                "sha": "f9410d295972d84e0c16b24ea99b7d6b0385e3b2",
                "tags": [
                  "v1.7.14"
                ],
                "timestamp": "20210415181656"
              },
              "number": "v1.7.14"
            }
          ]
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.9.5",
                "versionStartIncluding": "1.9.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.9.5",
                "versionStartIncluding": "1.9.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.8.10",
                "versionStartIncluding": "1.8.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.8.10",
                "versionStartIncluding": "1.8.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.7.14",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.7.14",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2020-25864"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "HashiCorp Consul and Consul Enterprise up to version 1.9.4 key-value (KV) raw mode was vulnerable to cross-site scripting. Fixed in 1.9.5, 1.8.10 and 1.7.14."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-79"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368"
            },
            {
              "name": "https://www.hashicorp.com/blog/category/consul",
              "refsource": "MISC",
              "tags": [
                "Product",
                "Vendor Advisory"
              ],
              "url": "https://www.hashicorp.com/blog/category/consul"
            },
            {
              "name": "GLSA-202208-09",
              "refsource": "GENTOO",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://security.gentoo.org/glsa/202208-09"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": true
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.1,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 2.7
        }
      },
      "lastModifiedDate": "2022-10-25T20:43Z",
      "publishedDate": "2021-04-20T16: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.