6.5medium
HashiCorp Vault Incorrect Permission Assignment for Critical Resource
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.04% (higher than 64% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-pfmw-vj74-ph8gBIT-VAULT-2021-43998GO-2022-0611
Description
HashiCorp Vault and Vault Enterprise 0.11.0 up to 1.7.5 and 1.8.4 templated ACL policies would always match the first-created entity alias if multiple entity aliases exist for a specified entity and mount combination, potentially resulting in incorrect policy enforcement. Fixed in Vault and Vault Enterprise 1.7.6, 1.8.5, and 1.9.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/hashicorp/vault (Go) | from 0.11.0 before 1.7.6, from 1.8.0 before 1.8.5 | GitHub Advisory Database, Go Vulnerability Database |
| hashicorp vault | from 0.11.0 up to 1.7.5, 1.8.4 | NVD |
| vault (Bitnami) | from 0.11.0 before 1.7.6, from 1.8.4 before 1.8.5 | Bitnami Vulnerability Database |
All scores
| GitHub | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| NVD | 5.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
HashiCorp Vault and Vault Enterprise 0.11.0 up to 1.7.5 and 1.8.4 templated ACL policies would always match the first-created entity alias if multiple entity aliases exist for a specified entity and mount combination, potentially resulting in incorrect policy enforcement. Fixed in Vault and Vault Enterprise 1.7.6, 1.8.5, and 1.9.0.
Go Vulnerability Database
HashiCorp Vault Incorrect Permission Assignment for Critical Resource in github.com/hashicorp/vault
NVD (es)
Las políticas ACL templadas de HashiCorp Vault y Vault Enterprise 0.11.0 versiones hasta 1.7.5 y 1.8.4 siempre coincidían con el primer alias de entidad creado si presentaban varios alias de entidad para una combinación especificada de entidad y montaje, resultando potencialmente en una aplicación incorrecta de la política. Corregido en Vault y Vault Enterprise versiones 1.7.6, 1.8.5 y 1.9.0
References
| https://discuss.hashicorp.com/t/hcsec-2021-30-vaults-templated-acl-policies-matched-first-created-alias-per-entity-and-auth-backend/32132 | advisory, vendor-advisory, web | |
| https://security.gentoo.org/glsa/202207-01 | advisory, third-party-advisory, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-43998 | advisory, web | |
| https://github.com/hashicorp/vault | package | |
| https://github.com/advisories/GHSA-pfmw-vj74-ph8g | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-43998 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pfmw-vj74-ph8g changed 2024-08-21 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0611 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2021-43998 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-VAULT-2021-43998 changed 2026-09-08 | Apache-2.0 |