CVE-2022-40186

HashiCorp Vault vulnerable to incorrect metadata access in go/github.com/hashicorp/vault

Identifiers

GHSA-7cgv-v83v-rr87, CVE-2022-40186

Package Slug

go/github.com/hashicorp/vault

Vulnerability

HashiCorp Vault vulnerable to incorrect metadata access

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.

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

Solution

Upgrade to versions 1.10.6, 1.11.3, 1.9.9 or above.

Last Modified

2022-09-27

source