Live threats

All CVEs / Hashicorp

CVE-2021-43998Hashicorp Vault

Medium 6.5

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vault.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
hashicorpvault≥ 0.11.0 ≤ 1.7.5
hashicorpvault≥ 0.11.0 ≤ 1.7.5
hashicorpvault1.8.4
hashicorpvault1.8.4

Official sources

References

Links published by the sources. Open them with care.