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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/hashicorp/vault (Go) | from 1.8.0 up to 1.8.4, from 1.8.0 before 1.8.5 | GitHub Advisory Database, Go Vulnerability Database |
| hashicorp vault | from 1.8.0 up to 1.8.4 | NVD |
| vault (Bitnami) | from 1.8.0 before 1.8.5 | Bitnami Vulnerability Database |
All scores
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 4.9medium CVSS:2.0 | AV:N/AC:M/Au:S/C:P/I:P/A:N |
| Bitnami Vulnerability Database | high 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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-42135 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-362v-wg5p-64w2 changed 2024-08-21 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0578 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2021-42135 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-VAULT-2021-42135 changed 2026-09-08 | Apache-2.0 |