{"id":"CVE-2021-42135","aliases":["BIT-vault-2021-42135","EUVD-2021-2145","GHSA-362v-wg5p-64w2","GO-2022-0578"],"status":"published","title":"Incorrect Privilege Assignment in HashiCorp Vault","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.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.0078,"percentile":0.56423,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-266","CWE-269","CWE-863"],"published":"2021-10-11T02:52:59Z","modified":"2026-10-24T10:31:05Z","fixes":[{"ecosystem":"Bitnami","package":"vault","fixed_in":["1.8.5"],"sources":["osv"]},{"ecosystem":"Go","package":"github.com/hashicorp/vault","fixed_in":["1.8.5"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"last_affected":"1.8.4"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.8.0"},{"fixed":"1.8.5"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.8.0"},{"last_affected":"1.8.4"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.8.0"},{"fixed":"1.8.5"}]}]}],"products":[{"vendor":"hashicorp","product":"vault"}],"references":[{"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/","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42135","tags":["web","advisory"]},{"url":"https://github.com/hashicorp/vault/blob/main/CHANGELOG.md#180","tags":["web"]},{"url":"https://github.com/advisories/GHSA-362v-wg5p-64w2","tags":["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","tags":["web"]},{"url":"https://github.com/hashicorp/vault","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-42135","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.","status":"published","published":"2021-10-11T02:52:59Z","modified":"2024-08-04T03:30:38.162Z","updated_at":"2026-11-02T14:32:58.739039Z"}],"euvd":[{"id":"EUVD-2021-2145","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.","status":"published","published":"2021-10-11T02:52:59Z","modified":"2024-08-04T03:30:38Z","updated_at":"2026-11-03T03:24:16.217613Z"}],"ghsa":[{"id":"GHSA-362v-wg5p-64w2","title":"Incorrect Privilege Assignment in HashiCorp Vault","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.","status":"published","published":"2021-10-12T18:41:16Z","modified":"2023-02-01T05:06:12Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-266","CWE-863"],"updated_at":"2026-11-02T14:36:38.281533Z"}],"nvd":[{"id":"CVE-2021-42135","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.","status":"published","published":"2021-10-11T03:15:06.76Z","modified":"2026-06-17T04:09:24.413Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":4.9,"vector":"AV:N/AC:M/Au:S/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:06:59.689345Z"}],"osv":[{"id":"CVE-2021-42135","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.","status":"published","published":"2021-10-11T03:15:06.76Z","modified":"2026-10-24T10:31:05.825228732Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:21.557945Z"},{"id":"GHSA-362v-wg5p-64w2","title":"Incorrect Privilege Assignment in HashiCorp Vault","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.","status":"published","published":"2021-10-12T18:41:16Z","modified":"2024-08-21T15:27:04.097392Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-266","CWE-863"],"updated_at":"2026-11-02T15:46:35.406455Z"},{"id":"BIT-vault-2021-42135","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.","status":"published","published":"2024-03-06T11:10:28.289Z","modified":"2026-09-08T08:48:21.216625746Z","updated_at":"2026-11-02T15:28:36.104787Z"},{"id":"GO-2022-0578","title":"Incorrect Privilege Assignment in HashiCorp Vault in github.com/hashicorp/vault","description":"Incorrect Privilege Assignment in HashiCorp Vault in github.com/hashicorp/vault","status":"published","published":"2024-08-21T15:11:38Z","modified":"2026-03-03T04:50:34.525614Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
