gsd-2021-38698
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic. Fixed in 1.8.15, 1.9.9 and 1.10.2.
Aliases
Aliases



{
   GSD: {
      alias: "CVE-2021-38698",
      description: "HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic. Fixed in 1.8.15, 1.9.9 and 1.10.2.",
      id: "GSD-2021-38698",
      references: [
         "https://security.archlinux.org/CVE-2021-38698",
      ],
   },
   gsd: {
      metadata: {
         exploitCode: "unknown",
         remediation: "unknown",
         reportConfidence: "confirmed",
         type: "vulnerability",
      },
      osvSchema: {
         aliases: [
            "CVE-2021-38698",
         ],
         details: "HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic. Fixed in 1.8.15, 1.9.9 and 1.10.2.",
         id: "GSD-2021-38698",
         modified: "2023-12-13T01:23:17.741558Z",
         schema_version: "1.4.0",
      },
   },
   namespaces: {
      "cve.org": {
         CVE_data_meta: {
            ASSIGNER: "cve@mitre.org",
            ID: "CVE-2021-38698",
            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 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic. 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-24-consul-missing-authorization-check-on-txn-apply-endpoint/29026",
                  refsource: "MISC",
                  url: "https://discuss.hashicorp.com/t/hcsec-2021-24-consul-missing-authorization-check-on-txn-apply-endpoint/29026",
               },
               {
                  name: "GLSA-202208-09",
                  refsource: "GENTOO",
                  url: "https://security.gentoo.org/glsa/202208-09",
               },
            ],
         },
      },
      "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:N/A:N",
               cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
               cwe_ids: [
                  "CWE-1035",
                  "CWE-862",
                  "CWE-937",
               ],
               date: "2022-09-14",
               description: "HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic. 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-38698",
               identifiers: [
                  "CVE-2021-38698",
                  "GHSA-6hw5-6gcx-phmw",
               ],
               not_impacted: "All versions after 1.8.15 before 1.9.0, all versions after 1.9.9 before 1.10.0, all versions after 1.10.2",
               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: "Incorrect Authorization",
               urls: [
                  "https://nvd.nist.gov/vuln/detail/CVE-2021-38698",
                  "https://github.com/hashicorp/consul/pull/10824",
                  "https://discuss.hashicorp.com/t/hcsec-2021-24-consul-missing-authorization-check-on-txn-apply-endpoint/29026",
                  "https://www.hashicorp.com/blog/category/consul",
                  "https://github.com/advisories/GHSA-6hw5-6gcx-phmw",
               ],
               uuid: "5caa8a77-821a-425c-aa04-f0b66ed096b6",
            },
            {
               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:N/A:N",
               cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
               cwe_ids: [
                  "CWE-1035",
                  "CWE-937",
               ],
               date: "2021-09-15",
               description: "HashiCorp Consul and Consul Enterprise's `Txn.Apply` endpoint allowed services to register proxies for other services, enabling access to service traffic.",
               fixed_versions: [
                  "v1.8.15",
                  "v1.9.9",
                  "v1.10.2",
               ],
               identifier: "CVE-2021-38698",
               identifiers: [
                  "CVE-2021-38698",
               ],
               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: "Incorrect Authorization",
               urls: [
                  "https://nvd.nist.gov/vuln/detail/CVE-2021-38698",
                  "https://www.hashicorp.com/blog/category/consul",
                  "https://discuss.hashicorp.com/t/hcsec-2021-24-consul-missing-authorization-check-on-txn-apply-endpoint/29026",
               ],
               uuid: "4998fd9d-7a8a-4e38-9eba-010657296650",
               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-38698",
            },
            data_format: "MITRE",
            data_type: "CVE",
            data_version: "4.0",
            description: {
               description_data: [
                  {
                     lang: "en",
                     value: "HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic. Fixed in 1.8.15, 1.9.9 and 1.10.2.",
                  },
               ],
            },
            problemtype: {
               problemtype_data: [
                  {
                     description: [
                        {
                           lang: "en",
                           value: "CWE-862",
                        },
                     ],
                  },
               ],
            },
            references: {
               reference_data: [
                  {
                     name: "https://www.hashicorp.com/blog/category/consul",
                     refsource: "MISC",
                     tags: [
                        "Product",
                        "Vendor Advisory",
                     ],
                     url: "https://www.hashicorp.com/blog/category/consul",
                  },
                  {
                     name: "https://discuss.hashicorp.com/t/hcsec-2021-24-consul-missing-authorization-check-on-txn-apply-endpoint/29026",
                     refsource: "MISC",
                     tags: [
                        "Vendor Advisory",
                     ],
                     url: "https://discuss.hashicorp.com/t/hcsec-2021-24-consul-missing-authorization-check-on-txn-apply-endpoint/29026",
                  },
                  {
                     name: "GLSA-202208-09",
                     refsource: "GENTOO",
                     tags: [
                        "Third Party Advisory",
                     ],
                     url: "https://security.gentoo.org/glsa/202208-09",
                  },
               ],
            },
         },
         impact: {
            baseMetricV2: {
               acInsufInfo: false,
               cvssV2: {
                  accessComplexity: "LOW",
                  accessVector: "NETWORK",
                  authentication: "SINGLE",
                  availabilityImpact: "NONE",
                  baseScore: 4,
                  confidentialityImpact: "PARTIAL",
                  integrityImpact: "NONE",
                  vectorString: "AV:N/AC:L/Au:S/C:P/I:N/A:N",
                  version: "2.0",
               },
               exploitabilityScore: 8,
               impactScore: 2.9,
               obtainAllPrivilege: false,
               obtainOtherPrivilege: false,
               obtainUserPrivilege: false,
               severity: "MEDIUM",
               userInteractionRequired: false,
            },
            baseMetricV3: {
               cvssV3: {
                  attackComplexity: "LOW",
                  attackVector: "NETWORK",
                  availabilityImpact: "NONE",
                  baseScore: 6.5,
                  baseSeverity: "MEDIUM",
                  confidentialityImpact: "HIGH",
                  integrityImpact: "NONE",
                  privilegesRequired: "LOW",
                  scope: "UNCHANGED",
                  userInteraction: "NONE",
                  vectorString: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
                  version: "3.1",
               },
               exploitabilityScore: 2.8,
               impactScore: 3.6,
            },
         },
         lastModifiedDate: "2022-09-14T20:58Z",
         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.