CVE-2021-43998: 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...
Medium CVSS 6.5
- CVE id
- CVE-2021-43998
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| HashiCorp Vault Runtimes and servers |
>= 0.11.0, <= 1.7.5 | after 1.7.5 |
| HashiCorp Vault Enterprise Runtimes and servers |
>= 0.11.0, <= 1.7.5 | after 1.7.5 |
How to fix it
HashiCorp Vault (Runtimes and servers)
Upgrade HashiCorp Vault to a release newer than 1.7.5.
vault version
- Upgrade Vault (the hashicorp/vault image or binary) to the patched release.
HashiCorp Vault Enterprise (Runtimes and servers)
Upgrade HashiCorp Vault Enterprise to a release newer than 1.7.5.
vault version
- Upgrade Vault Enterprise (the hashicorp/vault-enterprise image or binary) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
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.
References
- CVE-2021-43998 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2021-43998
- Web: https://discuss.hashicorp.com/t/hcsec-2021-30-vaults-templated-acl-policies-matched-first-created-alias-per-entity-and-auth-backend/32132
- Web: https://security.gentoo.org/glsa/202207-01
- Web: https://discuss.hashicorp.com/t/hcsec-2021-30-vaults-templated-acl-policies-matched-first-created-alias-per-entity-and-auth-backend/32132
- Web: https://security.gentoo.org/glsa/202207-01
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.