{"id":"CVE-2021-43998","details":"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.","aliases":["BIT-vault-2021-43998","GHSA-pfmw-vj74-ph8g","GO-2022-0611"],"modified":"2026-05-30T20:28:02.865199Z","published":"2021-11-30T15:15:07.360Z","references":[{"type":"ADVISORY","url":"https://discuss.hashicorp.com/t/hcsec-2021-30-vaults-templated-acl-policies-matched-first-created-alias-per-entity-and-auth-backend/32132"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202207-01"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hashicorp/vault","events":[{"introduced":"87492f9258e0227f3717e3883c6a8be5716bf564"},{"last_affected":"d1f4f619fc460edb5d02ffbd47c4af919e3932a0"},{"introduced":"0"},{"last_affected":"925bc650ad1d997e84fbb832f302a6bfe0105bbb"}],"database_specific":{"extracted_events":[{"introduced":"0.11.0"},{"last_affected":"1.7.5"},{"introduced":"0"},{"last_affected":"1.8.4"}],"source":["CPE_RANGE","CPE_STRING"],"cpe":["cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*","cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*","cpe:2.3:a:hashicorp:vault:1.8.4:*:*:*:-:*:*:*","cpe:2.3:a:hashicorp:vault:1.8.4:*:*:*:enterprise:*:*:*"]}}],"versions":["main-creation","v1.8.4","v1.8.3","v1.7.5","v1.8.2","v1.7.4","v1.8.1","v1.8.0","v1.8.0-rc2","api/v1.1.1","sdk/v0.2.1","v1.7.3","v1.7.2","v1.7.1","sdk/v0.2.0","api/v1.1.0","v1.7.0","v1.7.0-rc2","v1.7.0-rc1","v1.2.0","v1.2.0-rc1","api/v1.0.4","sdk/v0.1.13","api/v1.0.3","sdk/v0.1.12","v1.2.0-beta2","v1.2.0-beta1","sdk/v0.1.11","sdk/v0.1.10","api/v1.0.2","v1.1.1","sdk/v0.1.9","api/v1.0.1","sdk/v0.1.8","v1.1.0","v1.1.0-beta2","v1.1.0-beta1","v1.0.3","v1.0.2","v1.0.1","v1.0.0","v1.0.0-rc1","v1.0.0-beta2","v1.0.0-beta1","v0.11.2","v0.11.1","v0.11.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-43998.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"}]}