{"id":"GHSA-pfmw-vj74-ph8g","summary":"HashiCorp Vault Incorrect Permission Assignment for Critical Resource","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","CVE-2021-43998","GO-2022-0611"],"modified":"2024-08-21T15:42:08.289323Z","published":"2021-12-02T17:48:30Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-12-01T18:25:18Z","nvd_published_at":"2021-11-30T15:15:00Z","cwe_ids":["CWE-732"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43998"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-30-vaults-templated-acl-policies-matched-first-created-alias-per-entity-and-auth-backend/32132"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202207-01"}],"affected":[{"package":{"name":"github.com/hashicorp/vault","ecosystem":"Go","purl":"pkg:golang/github.com/hashicorp/vault"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.11.0"},{"fixed":"1.7.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-pfmw-vj74-ph8g/GHSA-pfmw-vj74-ph8g.json"}},{"package":{"name":"github.com/hashicorp/vault","ecosystem":"Go","purl":"pkg:golang/github.com/hashicorp/vault"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.8.0"},{"fixed":"1.8.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-pfmw-vj74-ph8g/GHSA-pfmw-vj74-ph8g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}