CVE-2021-43998
MEDIUM 6.5CVSS 3.1HashiCorp Vault Incorrect Permission Assignment for Critical Resource
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.
- Published
- 30 Nov 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-732
- Also known as
- BIT-vault-2021-43998GHSA-pfmw-vj74-ph8gGO-2022-0611
- Sources
- NVDJSONOSV GHSA-pfmw-vj74-ph8gJSONOSV GO-2022-0611JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* |
>= 0.11.0, <= 1.7.5 | |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 0.11.0, <= 1.7.5 | |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:1.8.4:*:*:*:-:*:*:* |
= 1.8.4 | |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:1.8.4:*:*:*:enterprise:*:*:* |
= 1.8.4 | |
| OSV | Go | github.com/hashicorp/vault | >= 0.11.0, < 1.7.6 | 1.7.6 |
| OSV | Go | github.com/hashicorp/vault | >= 1.8.0, < 1.8.5 | 1.8.5 |
| OSV | Go | github.com/hashicorp/vault | >= 0.11.0, < 1.7.6; >= 1.8.0, < 1.8.5 | 1.7.6, 1.8.5 |
References
- https://discuss.hashicorp.com/t/hcsec-2021-30-vaults-templated-acl-policies-matched-first-created-alias-per-entity-and-auth-backend/32132 · Vendor Advisory, WEB
- https://security.gentoo.org/glsa/202207-01 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-43998 · ADVISORY
- https://github.com/hashicorp/vault · PACKAGE
- https://github.com/advisories/GHSA-pfmw-vj74-ph8g · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 30 Nov 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Dec 2021)