{"id":"CVE-2021-42135","details":"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.","aliases":["BIT-vault-2021-42135","GHSA-362v-wg5p-64w2","GO-2022-0578"],"modified":"2026-07-09T01:07:46.451125Z","published":"2021-10-11T03:15:06.760Z","references":[{"type":"ADVISORY","url":"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/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hashicorp/vault","events":[{"introduced":"82a99f14eb6133f99a975e653d4dac21c17505c7"},{"last_affected":"925bc650ad1d997e84fbb832f302a6bfe0105bbb"}],"database_specific":{"extracted_events":[{"introduced":"1.8.0"},{"last_affected":"1.8.4"}],"source":"CPE_RANGE","cpe":["cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*","cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*"]}}],"versions":["v1.8.4","v1.8.3","v1.8.2","v1.8.1","v1.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42135.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}]}