CVE-2021-42135
JSON

8.1high

Incorrect Privilege Assignment in HashiCorp Vault

Severity
8.1high CVSS:3.1 by NVD
Exploit likelihood
0.78% (higher than 57% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-362v-wg5p-64w2BIT-VAULT-2021-42135GO-2022-0578

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
github.com/hashicorp/vault (Go)from 1.8.0 up to 1.8.4, from 1.8.0 before 1.8.5GitHub Advisory Database, Go Vulnerability Database
hashicorp vaultfrom 1.8.0 up to 1.8.4NVD
vault (Bitnami)from 1.8.0 before 1.8.5Bitnami Vulnerability Database

All scores

GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD4.9medium CVSS:2.0AV:N/AC:M/Au:S/C:P/I:P/A:N
Bitnami Vulnerability Databasehigh rating

Classification

What each source says

CVE List

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.

Go Vulnerability Database

Incorrect Privilege Assignment in HashiCorp Vault in github.com/hashicorp/vault

NVD (es)

HashiCorp Vault y Vault Enterprise versiones 1.8.x a 1.8.4, pueden tener una interacción inesperada entre las políticas relacionadas con glob y el motor de secretos de Google Cloud. Los usuarios pueden, en algunas situaciones, tener más privilegios de los previstos, por ejemplo, un usuario con permiso de lectura para la ruta /gcp/roleset/* puede ser capaz de emitir credenciales de cuentas de servicio de Google Cloud

References

Sources

SourceRecordLicence
CVE ListCVE-2021-42135 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-362v-wg5p-64w2 changed 2024-08-21CC-BY-4.0
Go Vulnerability DatabaseGO-2022-0578 changed 2026-03-03CC-BY-4.0
NVDCVE-2021-42135 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-VAULT-2021-42135 changed 2026-09-08Apache-2.0