CVE-2022-40186: An issue was discovered in HashiCorp Vault and Vault Enterprise before 1.11.3.
Critical CVSS 9.1
- CVE id
- CVE-2022-40186
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| HashiCorp Vault Runtimes and servers |
>= 1.8.0, < 1.9.9 >= 1.10.0, < 1.10.6 >= 1.11.0, < 1.11.3 |
1.9.9, 1.10.6, 1.11.3 |
| HashiCorp Vault Enterprise Runtimes and servers |
>= 1.8.0, < 1.9.9 >= 1.10.0, < 1.10.6 >= 1.11.0, < 1.11.3 |
1.9.9, 1.10.6, 1.11.3 |
How to fix it
HashiCorp Vault (Runtimes and servers)
Upgrade HashiCorp Vault to the fixed release of the line you run: 1.9.9, 1.10.6, 1.11.3.
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 the fixed release of the line you run: 1.9.9, 1.10.6, 1.11.3.
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
An issue was discovered in HashiCorp Vault and Vault Enterprise before 1.11.3. A vulnerability in the Identity Engine was found where, in a deployment where an entity has multiple mount accessors with shared alias names, Vault may overwrite metadata to the wrong alias due to an issue with checking the proper alias assigned to an entity. This may allow for unintended access to key/value paths using that metadata in Vault.
References
- CVE-2022-40186 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-40186
- Web: https://discuss.hashicorp.com
- Web: https://discuss.hashicorp.com/t/hcsec-2022-18-vault-entity-alias-metadata-may-leak-between-aliases-with-the-same-name-assigned-to-the-same-entity/44550
- Web: https://security.netapp.com/advisory/ntap-20221111-0008/
- Web: https://discuss.hashicorp.com
- Web: https://discuss.hashicorp.com/t/hcsec-2022-18-vault-entity-alias-metadata-may-leak-between-aliases-with-the-same-name-assigned-to-the-same-entity/44550
- Web: https://security.netapp.com/advisory/ntap-20221111-0008/
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.