Skip to content

Incorrect Privilege Assignment in HashiCorp Vault

High severity GitHub Reviewed Published Oct 12, 2021 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

gomod github.com/hashicorp/vault (Go)

Affected versions

>= 1.8.0, <= 1.8.4

Patched versions

None

Description

HashiCorp Vault and Vault Enterprise 1.8.x through 1.8.4 may have an unexpected interaction between glob-related policies and the Google Cloud secrets engine. Users may, in some situations, have more privileges than intended, e.g., a user with read permission for the /gcp/roleset/* path may be able to issue Google Cloud service account credentials.

References

Published by the National Vulnerability Database Oct 11, 2021
Reviewed Oct 12, 2021
Published to the GitHub Advisory Database Oct 12, 2021
Last updated Feb 1, 2023

Severity

High
8.1
/ 10

CVSS base metrics

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

CVE ID

CVE-2021-42135

GHSA ID

GHSA-362v-wg5p-64w2

Source code

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