Skip to content

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

CriticalCVSS 9.1 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
hashicorp github.com/hashicorp/vault >= 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 Fixed
hashicorp github.com/hashicorp/vault(Go) >= 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 Fixed

Affected products

ProductAffected versionsFixed in
hashicorp github.com/hashicorp/vault(Go) >= 1.11.0, < 1.11.3 1.11.3
hashicorp github.com/hashicorp/vault(Go) >= 1.10.0, < 1.10.6 1.10.6
hashicorp github.com/hashicorp/vault(Go) >= 1.8.0, < 1.9.9 1.9.9
hashicorp github.com/hashicorp/vault >= 1.8.0, < 1.9.9 1.9.9
hashicorp github.com/hashicorp/vault >= 1.10.0, < 1.10.6 1.10.6
hashicorp github.com/hashicorp/vault >= 1.11.0, < 1.11.3 1.11.3

References