{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-43998","published":"2021-11-30T15:15:07.360000Z","last_modified":"2026-06-17T04:11:45.877000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-732"],"cpes":[{"criteria":"cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*","part":"a","vendor":"hashicorp","product":"vault","version_start_including":"0.11.0","version_end_including":"1.7.5"},{"criteria":"cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*","part":"a","vendor":"hashicorp","product":"vault","version_start_including":"0.11.0","version_end_including":"1.7.5"},{"criteria":"cpe:2.3:a:hashicorp:vault:1.8.4:*:*:*:-:*:*:*","part":"a","vendor":"hashicorp","product":"vault","version":"1.8.4"},{"criteria":"cpe:2.3:a:hashicorp:vault:1.8.4:*:*:*:enterprise:*:*:*","part":"a","vendor":"hashicorp","product":"vault","version":"1.8.4"}],"cpes_truncated":false,"vendors":["hashicorp"],"products":["hashicorp/vault"],"epss":{"score":0.01041,"percentile":0.63341,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-pfmw-vj74-ph8g","ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"introduced":"0.11.0","fixed":"1.7.6"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-pfmw-vj74-ph8g","ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"introduced":"1.8.0","fixed":"1.8.5"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2022-0611","ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"introduced":"0.11.0","fixed":"1.7.6"},{"introduced":"1.8.0","fixed":"1.8.5"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2021-43998/","html_en":"/en/cve/CVE-2021-43998/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-43998","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-43998"},"untrusted":{"vendor_name":"Hashicorp","product_name":"Vault","desc_en":"HashiCorp Vault and Vault Enterprise 0.11.0 up to 1.7.5 and 1.8.4 templated ACL policies would always match the first-created entity alias if multiple entity aliases exist for a specified entity and mount combination, potentially resulting in incorrect policy enforcement. Fixed in Vault and Vault Enterprise 1.7.6, 1.8.5, and 1.9.0.","affected":[],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2021-30-vaults-templated-acl-policies-matched-first-created-alias-per-entity-and-auth-backend/32132","tags":["Vendor Advisory"]},{"url":"https://security.gentoo.org/glsa/202207-01","tags":["Third Party Advisory"]}]}}