Skip to content

HashiCorp Vault vulnerable to incorrect metadata access

Critical severity GitHub Reviewed Published Sep 23, 2022 to the GitHub Advisory Database • Updated Feb 3, 2023

Package

gomod github.com/hashicorp/vault (Go)

Affected versions

>= 1.11.0, < 1.11.3
>= 1.10.0, < 1.10.6
>= 1.8.0, < 1.9.9

Patched versions

1.11.3
1.10.6
1.9.9

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.

References

Published by the National Vulnerability Database Sep 22, 2022
Published to the GitHub Advisory Database Sep 23, 2022
Reviewed Sep 23, 2022
Last updated Feb 3, 2023

Severity

Critical
9.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Weaknesses

No CWEs

CVE ID

CVE-2022-40186

GHSA ID

GHSA-7cgv-v83v-rr87

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.