high8.1
CVE-2021-42135
Incorrect Privilege Assignment in HashiCorp Vault
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/hashicorp/vault | >= 1.8.0, <= 1.8.4 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Hashicorp | Vault | from 1.8.0 through 1.8.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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/advisories/GHSA-362v-wg5p-64w2
- https://nvd.nist.gov/vuln/detail/CVE-2021-42135
- https://github.com/hashicorp/vault/blob/main/CHANGELOG.md#180