Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/hashicorp/vault
  4. ›
  5. CVE-2022-40186

CVE-2022-40186: HashiCorp Vault vulnerable to incorrect metadata access

September 23, 2022

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

  • 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
  • github.com/advisories/GHSA-7cgv-v83v-rr87
  • nvd.nist.gov/vuln/detail/CVE-2022-40186

Code Behaviors & Features

Detect and mitigate CVE-2022-40186 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.8.0 before 1.9.9, all versions starting from 1.10.0 before 1.10.6, all versions starting from 1.11.0 before 1.11.3

Fixed versions

  • 1.10.6
  • 1.11.3
  • 1.9.9

Solution

Upgrade to versions 1.10.6, 1.11.3, 1.9.9 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Source file

go/github.com/hashicorp/vault/CVE-2022-40186.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:20 +0000.