gsd-2021-37219
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
HashiCorp Consul and Consul Enterprise 1.10.1 Raft RPC layer allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, enabling privilege escalation. Fixed in 1.8.15, 1.9.9 and 1.10.2.
Aliases
Aliases



{
   GSD: {
      alias: "CVE-2021-37219",
      description: "HashiCorp Consul and Consul Enterprise 1.10.1 Raft RPC layer allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, enabling privilege escalation. Fixed in 1.8.15, 1.9.9 and 1.10.2.",
      id: "GSD-2021-37219",
      references: [
         "https://security.archlinux.org/CVE-2021-37219",
      ],
   },
   gsd: {
      metadata: {
         exploitCode: "unknown",
         remediation: "unknown",
         reportConfidence: "confirmed",
         type: "vulnerability",
      },
      osvSchema: {
         aliases: [
            "CVE-2021-37219",
         ],
         details: "HashiCorp Consul and Consul Enterprise 1.10.1 Raft RPC layer allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, enabling privilege escalation. Fixed in 1.8.15, 1.9.9 and 1.10.2.",
         id: "GSD-2021-37219",
         modified: "2023-12-13T01:23:10.234099Z",
         schema_version: "1.4.0",
      },
   },
   namespaces: {
      "cve.org": {
         CVE_data_meta: {
            ASSIGNER: "cve@mitre.org",
            ID: "CVE-2021-37219",
            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 1.10.1 Raft RPC layer allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, enabling privilege escalation. Fixed in 1.8.15, 1.9.9 and 1.10.2.",
               },
            ],
         },
         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-22-consul-raft-rpc-privilege-escalation/29024",
                  refsource: "MISC",
                  url: "https://discuss.hashicorp.com/t/hcsec-2021-22-consul-raft-rpc-privilege-escalation/29024",
               },
               {
                  name: "GLSA-202207-01",
                  refsource: "GENTOO",
                  url: "https://security.gentoo.org/glsa/202207-01",
               },
            ],
         },
      },
      "gitlab.com": {
         advisories: [
            {
               affected_range: "<1.8.15||>=1.9.0 <1.9.9||>=1.10.0 <1.10.2",
               affected_versions: "All versions before 1.8.15, all versions starting from 1.9.0 before 1.9.9, all versions starting from 1.10.0 before 1.10.2",
               cvss_v2: "AV:N/AC:L/Au:S/C:P/I:P/A:P",
               cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
               cwe_ids: [
                  "CWE-1035",
                  "CWE-295",
                  "CWE-937",
               ],
               date: "2022-09-08",
               description: "HashiCorp Consul and Consul Enterprise 1.10.1 Raft RPC layer allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, enabling privilege escalation. Fixed in 1.8.15, 1.9.9 and 1.10.2.",
               fixed_versions: [
                  "1.8.15",
                  "1.9.9",
                  "1.10.2",
               ],
               identifier: "CVE-2021-37219",
               identifiers: [
                  "CVE-2021-37219",
                  "GHSA-ccw8-7688-vqx4",
               ],
               not_impacted: "",
               package_slug: "go/github.com/hashicorp/consul",
               pubdate: "2021-09-07",
               solution: "Upgrade to versions 1.8.15, 1.9.9, 1.10.2 or above.",
               title: "Improper Certificate Validation",
               urls: [
                  "https://nvd.nist.gov/vuln/detail/CVE-2021-37219",
                  "https://discuss.hashicorp.com/t/hcsec-2021-22-consul-raft-rpc-privilege-escalation/29024",
                  "https://www.hashicorp.com/blog/category/consul",
                  "https://github.com/advisories/GHSA-ccw8-7688-vqx4",
               ],
               uuid: "b66d1a2d-eaee-461c-b3d9-2793d2ba1dc1",
            },
            {
               affected_range: "<v1.8.15 || >=v1.9.0 <v1.9.9 || >=v1.10.0 <v1.10.2",
               affected_versions: "All versions before 1.8.15, all versions starting from 1.9.0 before 1.9.9, all versions starting from 1.10.0 before 1.10.2",
               cvss_v2: "AV:N/AC:L/Au:S/C:P/I:P/A:P",
               cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
               cwe_ids: [
                  "CWE-1035",
                  "CWE-937",
               ],
               date: "2021-09-13",
               description: "HashiCorp Consul and Consul Enterprise's Raft RPC layer allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, enabling privilege escalation.",
               fixed_versions: [
                  "v1.8.15",
                  "v1.9.9",
                  "v1.10.2",
               ],
               identifier: "CVE-2021-37219",
               identifiers: [
                  "CVE-2021-37219",
               ],
               not_impacted: "All versions starting from 1.8.15 before 1.9.0, all versions starting from 1.9.9 before 1.10.0, all versions starting from 1.10.2",
               package_slug: "go/github.com/hashicorp/consul/acl",
               pubdate: "2021-09-07",
               solution: "Upgrade to versions 1.8.15, 1.9.9, 1.10.2 or above.",
               title: "Improper Certificate Validation",
               urls: [
                  "https://nvd.nist.gov/vuln/detail/CVE-2021-37219",
                  "https://discuss.hashicorp.com/t/hcsec-2021-22-consul-raft-rpc-privilege-escalation/29024",
                  "https://www.hashicorp.com/blog/category/consul",
               ],
               uuid: "9a7dbd42-c3b8-4b6a-b8f9-2f5a6398d6b9",
               versions: [
                  {
                     commit: {
                        sha: "0e06cada935d33208c080b6a912cb9683f961dee",
                        tags: [
                           "v1.9.0",
                        ],
                        timestamp: "20201124190548",
                     },
                     number: "v1.9.0",
                  },
                  {
                     commit: {
                        sha: "286bb61839d159bb9597d68d13f2f63ccd5e7bdd",
                        tags: [
                           "v1.10.0",
                        ],
                        timestamp: "20210622172115",
                     },
                     number: "v1.10.0",
                  },
                  {
                     commit: {
                        sha: "8159a14bed92f774437618587fc8b38fe603ade1",
                        tags: [
                           "v1.9.9",
                        ],
                        timestamp: "20210827160612",
                     },
                     number: "v1.9.9",
                  },
                  {
                     commit: {
                        sha: "9eccfe0e6126f40cd84f48e1a267861645f9e21b",
                        tags: [
                           "v1.8.15",
                        ],
                        timestamp: "20210827162802",
                     },
                     number: "v1.8.15",
                  },
                  {
                     commit: {
                        sha: "8fba564a86d1857c2e91aa0b16939ad2e75aeb62",
                        tags: [
                           "v1.10.2",
                        ],
                        timestamp: "20210827194405",
                     },
                     number: "v1.10.2",
                  },
               ],
            },
         ],
      },
      "nvd.nist.gov": {
         configurations: {
            CVE_data_version: "4.0",
            nodes: [
               {
                  children: [],
                  cpe_match: [
                     {
                        cpe23Uri: "cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*",
                        cpe_name: [],
                        versionEndExcluding: "1.10.2",
                        versionStartIncluding: "1.10.0",
                        vulnerable: true,
                     },
                     {
                        cpe23Uri: "cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*",
                        cpe_name: [],
                        versionEndExcluding: "1.10.2",
                        versionStartIncluding: "1.10.0",
                        vulnerable: true,
                     },
                     {
                        cpe23Uri: "cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*",
                        cpe_name: [],
                        versionEndExcluding: "1.9.9",
                        versionStartIncluding: "1.9.0",
                        vulnerable: true,
                     },
                     {
                        cpe23Uri: "cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*",
                        cpe_name: [],
                        versionEndExcluding: "1.9.9",
                        versionStartIncluding: "1.9.0",
                        vulnerable: true,
                     },
                     {
                        cpe23Uri: "cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*",
                        cpe_name: [],
                        versionEndExcluding: "1.8.15",
                        vulnerable: true,
                     },
                     {
                        cpe23Uri: "cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*",
                        cpe_name: [],
                        versionEndExcluding: "1.8.15",
                        vulnerable: true,
                     },
                  ],
                  operator: "OR",
               },
            ],
         },
         cve: {
            CVE_data_meta: {
               ASSIGNER: "cve@mitre.org",
               ID: "CVE-2021-37219",
            },
            data_format: "MITRE",
            data_type: "CVE",
            data_version: "4.0",
            description: {
               description_data: [
                  {
                     lang: "en",
                     value: "HashiCorp Consul and Consul Enterprise 1.10.1 Raft RPC layer allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, enabling privilege escalation. Fixed in 1.8.15, 1.9.9 and 1.10.2.",
                  },
               ],
            },
            problemtype: {
               problemtype_data: [
                  {
                     description: [
                        {
                           lang: "en",
                           value: "CWE-295",
                        },
                     ],
                  },
               ],
            },
            references: {
               reference_data: [
                  {
                     name: "https://discuss.hashicorp.com/t/hcsec-2021-22-consul-raft-rpc-privilege-escalation/29024",
                     refsource: "MISC",
                     tags: [
                        "Vendor Advisory",
                     ],
                     url: "https://discuss.hashicorp.com/t/hcsec-2021-22-consul-raft-rpc-privilege-escalation/29024",
                  },
                  {
                     name: "https://www.hashicorp.com/blog/category/consul",
                     refsource: "MISC",
                     tags: [
                        "Product",
                        "Vendor Advisory",
                     ],
                     url: "https://www.hashicorp.com/blog/category/consul",
                  },
                  {
                     name: "GLSA-202207-01",
                     refsource: "GENTOO",
                     tags: [
                        "Third Party Advisory",
                     ],
                     url: "https://security.gentoo.org/glsa/202207-01",
                  },
               ],
            },
         },
         impact: {
            baseMetricV2: {
               acInsufInfo: false,
               cvssV2: {
                  accessComplexity: "LOW",
                  accessVector: "NETWORK",
                  authentication: "SINGLE",
                  availabilityImpact: "PARTIAL",
                  baseScore: 6.5,
                  confidentialityImpact: "PARTIAL",
                  integrityImpact: "PARTIAL",
                  vectorString: "AV:N/AC:L/Au:S/C:P/I:P/A:P",
                  version: "2.0",
               },
               exploitabilityScore: 8,
               impactScore: 6.4,
               obtainAllPrivilege: false,
               obtainOtherPrivilege: false,
               obtainUserPrivilege: false,
               severity: "MEDIUM",
               userInteractionRequired: false,
            },
            baseMetricV3: {
               cvssV3: {
                  attackComplexity: "LOW",
                  attackVector: "NETWORK",
                  availabilityImpact: "HIGH",
                  baseScore: 8.8,
                  baseSeverity: "HIGH",
                  confidentialityImpact: "HIGH",
                  integrityImpact: "HIGH",
                  privilegesRequired: "LOW",
                  scope: "UNCHANGED",
                  userInteraction: "NONE",
                  vectorString: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                  version: "3.1",
               },
               exploitabilityScore: 2.8,
               impactScore: 5.9,
            },
         },
         lastModifiedDate: "2022-09-08T21:48Z",
         publishedDate: "2021-09-07T12:15Z",
      },
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



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.