Vulnerability · Published Nov 30, 2021 · Assigned by mitre
CVE-2021-43998
Medium 6.5
In plain English
A medium-severity security flaw in the github.com/hashicorp/vault package (Go). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)1.0%top 35.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/hashicorp/vault | 1.7.6 | GHSA-pfmw-vj74-ph8g |
| Go | github.com/hashicorp/vault | 1.8.5 | GHSA-pfmw-vj74-ph8g |
| Go | github.com/hashicorp/vault | 1.7.6, 1.8.5 | GO-2022-0611 |
Affected products (as reported)
References
- https://discuss.hashicorp.com/t/hcsec-2021-30-vaults-templated-acl-policies-matched-first-created-alias-per-entity-and-auth-backend/32132 x_refsource_MISC
- GLSA-202207-01 vendor-advisory, x_refsource_GENTOO