CVE-2021-43998Hashicorp Vault
Medium 6.5
Follow: this CVE · Hashicorp · Hashicorp Vault We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- Yes
- Published
- Nov 30, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-732
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Vault.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/hashicorp/vault |
≥ 0.11.0 < 1.7.6 |
1.7.6 |
go get github.com/hashicorp/vault@v1.7.6 |
| Go | github.com/hashicorp/vault |
≥ 1.8.0 < 1.8.5 |
1.8.5 |
go get github.com/hashicorp/vault@v1.8.5 |
| Go | github.com/hashicorp/vault |
≥ 0.11.0 < 1.7.6 |
1.7.6 |
go get github.com/hashicorp/vault@v1.7.6 |
| Go | github.com/hashicorp/vault |
≥ 1.8.0 < 1.8.5 |
1.8.5 |
go get github.com/hashicorp/vault@v1.8.5 |
Per OSV / GitHub Advisories (GHSA-pfmw-vj74-ph8g, GO-2022-0611). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hashicorp | vault | ≥ 0.11.0 ≤ 1.7.5 |
| hashicorp | vault | ≥ 0.11.0 ≤ 1.7.5 |
| hashicorp | vault | 1.8.4 |
| hashicorp | vault | 1.8.4 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.hashicorp.com Vendor Advisory
- security.gentoo.org Third Party Advisory