CVE-2021-42135
HIGH8.1EPSS 0.18%Incorrect Privilege Assignment in HashiCorp Vault
Published: 10/12/2021Modified: 8/21/2024
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 packages (3)
- Bitnami/vault>= 1.8.0, < 1.8.5
- Go/github.com/hashicorp/vault>= 1.8.0, <= 1.8.4
- Go/github.com/hashicorp/vault>= 1.8.0, < 1.8.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
References (6)
- ADVISORYhttps://github.com/advisories/GHSA-362v-wg5p-64w2
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-42135
- PATCHhttps://github.com/hashicorp/vault
- WEBhttps://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
- WEBhttps://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/
- WEBhttps://github.com/hashicorp/vault/blob/main/CHANGELOG.md#180