{"id":"CVE-2021-42135","aliases":["BIT-vault-2021-42135","GHSA-362v-wg5p-64w2","GO-2022-0578"],"summary":"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.","published_at":"2021-10-11T00:00:00Z","modified_at":"2026-09-08T08:48:21.216625Z","products":[{"slug":"vault","name":"HashiCorp Vault","category":"secrets"}],"rating":{"severity":"high","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.007799999788403511,"percentile":0.5670899748802185,"date":"2026-11-19T00:00:00Z"},"priority":9.1,"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.","affected_stack":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.8.0"},{"fixed":"1.8.5"}]}],"fixed":["1.8.5"],"provider":"osv","source":"BIT-vault-2021-42135","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.8.0"},{"last_affected":"1.8.4"}]}],"provider":"osv","source":"GHSA-362v-wg5p-64w2","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.8.0"},{"fixed":"1.8.5"}]}],"fixed":["1.8.5"],"provider":"osv","source":"GO-2022-0578","relation":"self"},{"ecosystem":"NVD","package":"hashicorp:vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"last_affected":"1.8.4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"last_affected":"1.8.4"}]}],"provider":"nvd","source":"CVE-2021-42135","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["openshift-logging/logging-loki-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42135"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-installer","openshift4/topology-aware-lifecycle-manager-rhel8-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42135"},{"vendor":"Red Hat","product":"Red Hat Openshift Container Storage 4","cpe":"cpe:/a:redhat:openshift_container_storage:4","status":"not_affected","packages":["ocs4/cephcsi-rhel8","ocs4/mcg-rhel8-operator","ocs4/ocs-rhel8-operator","ocs4/rook-ceph-rhel8-operator"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42135"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/cephcsi-rhel9","odf4/mcg-rhel9-operator","odf4/ocs-rhel9-operator","odf4/odf-multicluster-rhel9-operator","odf4/odf-rhel8-operator","odf4/odr-rhel8-operator","odf4/rook-ceph-rhel8-operator"],"package_count":7,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42135"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2021-42135","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-42135","license":"CC-BY-4.0","published_at":"2021-10-11T02:52:59Z","modified_at":"2024-08-04T03:30:38.162Z","summary":"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.","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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","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/"}]},{"provider":"nvd","source_id":"CVE-2021-42135","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42135","severity":[],"affected":[{"ecosystem":"NVD","package":"hashicorp:vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"last_affected":"1.8.4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"last_affected":"1.8.4"}]}],"provider":"nvd","source":"CVE-2021-42135","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-vault-2021-42135","relation":"self","url":"https://osv.dev/vulnerability/BIT-vault-2021-42135","license":"Apache-2.0","published_at":"2024-03-06T11:10:28.289Z","modified_at":"2026-09-08T08:48:21.216625Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"BIT-vault-2021-42135"}],"affected":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.8.0"},{"fixed":"1.8.5"}]}],"fixed":["1.8.5"],"provider":"osv","source":"BIT-vault-2021-42135","relation":"self"}],"product_status":[],"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/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42135"}]},{"provider":"osv","source_id":"GHSA-362v-wg5p-64w2","relation":"self","url":"https://osv.dev/vulnerability/GHSA-362v-wg5p-64w2","license":"CC-BY-4.0","published_at":"2021-10-12T18:41:16Z","modified_at":"2024-08-21T15:27:04.097392Z","summary":"Incorrect Privilege Assignment in HashiCorp Vault","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"GHSA-362v-wg5p-64w2"}],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.8.0"},{"last_affected":"1.8.4"}]}],"provider":"osv","source":"GHSA-362v-wg5p-64w2","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42135"},{"type":"WEB","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"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault"},{"type":"WEB","url":"https://github.com/hashicorp/vault/blob/main/CHANGELOG.md#180"}]},{"provider":"osv","source_id":"GO-2022-0578","relation":"self","url":"https://osv.dev/vulnerability/GO-2022-0578","license":"CC-BY-4.0","published_at":"2024-08-21T15:11:38Z","modified_at":"2026-03-03T04:50:34.525614Z","summary":"Incorrect Privilege Assignment in HashiCorp Vault in github.com/hashicorp/vault","details":"Incorrect Privilege Assignment in HashiCorp Vault in github.com/hashicorp/vault","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.8.0"},{"fixed":"1.8.5"}]}],"fixed":["1.8.5"],"provider":"osv","source":"GO-2022-0578","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-362v-wg5p-64w2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42135"},{"type":"WEB","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"},{"type":"WEB","url":"https://github.com/hashicorp/vault/blob/main/CHANGELOG.md#180"}]},{"provider":"redhat-vex","source_id":"CVE-2021-42135","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-42135","license":"CC-BY-4.0","published_at":"2021-10-11T00:00:00Z","modified_at":"2023-04-27T21:40:20Z","summary":"vault: Google Cloud credential disclosure","details":"A flaw was found in the HashiCorp vault. Affected versions may have an unexpected interaction between glob-related policies and the Google Cloud secrets engine. In some situations, users may have more privileges than intended.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"CVE-2021-42135"},{"type":"Red Hat","score":"Important","source":"CVE-2021-42135"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["openshift-logging/logging-loki-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42135"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-installer","openshift4/topology-aware-lifecycle-manager-rhel8-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42135"},{"vendor":"Red Hat","product":"Red Hat Openshift Container Storage 4","cpe":"cpe:/a:redhat:openshift_container_storage:4","status":"not_affected","packages":["ocs4/cephcsi-rhel8","ocs4/mcg-rhel8-operator","ocs4/ocs-rhel8-operator","ocs4/rook-ceph-rhel8-operator"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42135"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/cephcsi-rhel9","odf4/mcg-rhel9-operator","odf4/ocs-rhel9-operator","odf4/odf-multicluster-rhel9-operator","odf4/odf-rhel8-operator","odf4/odr-rhel8-operator","odf4/rook-ceph-rhel8-operator"],"package_count":7,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42135"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-42135.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-42135"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2015885"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-42135"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42135"}]}],"references":[{"type":"WEB","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/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42135"},{"type":"WEB","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"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault"},{"type":"WEB","url":"https://github.com/hashicorp/vault/blob/main/CHANGELOG.md#180"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-362v-wg5p-64w2"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-42135.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-42135"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2015885"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-42135"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2021-42135","url":"https://www.cve.org/CVERecord?id=CVE-2021-42135","license":"CC-BY-4.0","modified_at":"2024-08-04T03:30:38.162Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-42135","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42135","relation":"self"},{"provider":"osv","source_id":"BIT-vault-2021-42135","url":"https://osv.dev/vulnerability/BIT-vault-2021-42135","license":"Apache-2.0","modified_at":"2026-09-08T08:48:21.216625Z","relation":"self"},{"provider":"osv","source_id":"GHSA-362v-wg5p-64w2","url":"https://osv.dev/vulnerability/GHSA-362v-wg5p-64w2","license":"CC-BY-4.0","modified_at":"2024-08-21T15:27:04.097392Z","relation":"self"},{"provider":"osv","source_id":"GO-2022-0578","url":"https://osv.dev/vulnerability/GO-2022-0578","license":"CC-BY-4.0","modified_at":"2026-03-03T04:50:34.525614Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-42135","url":"https://access.redhat.com/security/cve/CVE-2021-42135","license":"CC-BY-4.0","modified_at":"2023-04-27T21:40:20Z","relation":"self"}]}
