hashicorp/vault · Security
Incorrect Privilege Assignment in HashiCorp Vault
- GHSA ID
- GHSA-362v-wg5p-64w2
- CVE ID
- CVE-2021-42135
- Severity
- high
- Published
- Updated
- CVSS
- 8.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CVSS v3
- 8.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
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.
CWEs
- CWE-266 · Incorrect Privilege Assignment
- CWE-863 · Incorrect Authorization
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-42135 ↗
- https://discuss.hashicorp.com/t/hcsec-2021-28-vaults-google-cloud-secrets-engine-policies-with-globs-may-provide-additional-privileges-in-vault-1-8-0-onwards/ ↗
- https://github.com/hashicorp/vault/blob/main/CHANGELOG.md#180 ↗
- https://github.com/advisories/GHSA-362v-wg5p-64w2 ↗