{"id":"CVE-2020-12757","aliases":["BIT-vault-2020-12757","GHSA-75pc-qvwc-jf3g","GO-2022-0804"],"summary":"HashiCorp Vault and Vault Enterprise 1.4.0 and 1.4.1, when configured with the GCP Secrets Engine, may incorrectly generate GCP Credentials with the default time-to-live lease duration instead of t...","published_at":"2020-05-21T00:00:00Z","modified_at":"2026-09-08T08:48:21.16273Z","products":[{"slug":"vault","name":"HashiCorp Vault","category":"secrets"}],"rating":{"severity":"critical","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.015599999576807022,"percentile":0.757669985294342,"date":"2026-11-19T00:00:00Z"},"priority":11.8,"details":"HashiCorp Vault and Vault Enterprise 1.4.0 and 1.4.1, when configured with the GCP Secrets Engine, may incorrectly generate GCP Credentials with the default time-to-live lease duration instead of the engine-configured setting. This may lead to generated GCP credentials being valid for longer than intended. Fixed in 1.4.2.","affected_stack":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.4.0"},{"fixed":"1.4.2"}]}],"fixed":["1.4.2"],"provider":"osv","source":"BIT-vault-2020-12757","relation":"self"},{"ecosystem":"NVD","package":"hashicorp:vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.4.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.4.2"}]}],"fixed":["1.4.2","1.4.2"],"provider":"nvd","source":"CVE-2020-12757","relation":"self"}],"affected_other":[{"ecosystem":"Go","package":"github.com/hashicorp/vault-plugin-secrets-gcp","purl":"pkg:golang/github.com/hashicorp/vault-plugin-secrets-gcp","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.2"}]}],"fixed":["0.6.2"],"provider":"osv","source":"GHSA-75pc-qvwc-jf3g","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/vault-plugin-secrets-gcp","purl":"pkg:golang/github.com/hashicorp/vault-plugin-secrets-gcp","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.2"}]}],"fixed":["0.6.2"],"provider":"osv","source":"GO-2022-0804","relation":"self"}],"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-2020-12757"},{"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-2020-12757"},{"vendor":"Red Hat","product":"Red Hat Openshift Container Storage 4","cpe":"cpe:/a:redhat:openshift_container_storage:4","status":"affected","packages":["ocs4/cephcsi-rhel8","ocs4/mcg-rhel8-operator","ocs4/ocs-rhel8-operator","ocs4/rook-ceph-rhel8-operator"],"package_count":4,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2020-12757"},{"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-2020-12757"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2020-12757","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2020-12757","license":"CC-BY-4.0","published_at":"2020-06-10T18:46:12Z","modified_at":"2024-08-04T12:04:22.829Z","summary":"HashiCorp Vault and Vault Enterprise 1.4.0 and 1.4.1, when configured with the GCP Secrets Engine, may incorrectly generate GCP Credentials with the default time-to-live lease duration instead of t...","details":"HashiCorp Vault and Vault Enterprise 1.4.0 and 1.4.1, when configured with the GCP Secrets Engine, may incorrectly generate GCP Credentials with the default time-to-live lease duration instead of the engine-configured setting. This may lead to generated GCP credentials being valid for longer than intended. Fixed in 1.4.2.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://www.hashicorp.com/blog/category/vault/"},{"type":"WEB","url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#142-may-21st-2020"}]},{"provider":"nvd","source_id":"CVE-2020-12757","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12757","severity":[],"affected":[{"ecosystem":"NVD","package":"hashicorp:vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.4.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.4.2"}]}],"fixed":["1.4.2","1.4.2"],"provider":"nvd","source":"CVE-2020-12757","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-vault-2020-12757","relation":"self","url":"https://osv.dev/vulnerability/BIT-vault-2020-12757","license":"Apache-2.0","published_at":"2024-03-06T11:11:44.087Z","modified_at":"2026-09-08T08:48:21.16273Z","details":"HashiCorp Vault and Vault Enterprise 1.4.0 and 1.4.1, when configured with the GCP Secrets Engine, may incorrectly generate GCP Credentials with the default time-to-live lease duration instead of the engine-configured setting. This may lead to generated GCP credentials being valid for longer than intended. Fixed in 1.4.2.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"BIT-vault-2020-12757"}],"affected":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.4.0"},{"fixed":"1.4.2"}]}],"fixed":["1.4.2"],"provider":"osv","source":"BIT-vault-2020-12757","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#142-may-21st-2020"},{"type":"ADVISORY","url":"https://www.hashicorp.com/blog/category/vault/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12757"}]},{"provider":"osv","source_id":"GHSA-75pc-qvwc-jf3g","relation":"self","url":"https://osv.dev/vulnerability/GHSA-75pc-qvwc-jf3g","license":"CC-BY-4.0","published_at":"2021-05-18T18:20:48Z","modified_at":"2024-08-21T15:58:30.935205Z","summary":"Improper Input Validation in HashiCorp Vault","details":"HashiCorp Vault and Vault Enterprise 1.4.x before 1.4.2 in Go package github.com/hashicorp/vault-plugin-secrets-gcp/plugin has Incorrect Access Control.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GHSA-75pc-qvwc-jf3g"}],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault-plugin-secrets-gcp","purl":"pkg:golang/github.com/hashicorp/vault-plugin-secrets-gcp","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.2"}]}],"fixed":["0.6.2"],"provider":"osv","source":"GHSA-75pc-qvwc-jf3g","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12757"},{"type":"WEB","url":"https://github.com/hashicorp/vault-plugin-secrets-gcp/pull/85"},{"type":"WEB","url":"https://github.com/hashicorp/vault-plugin-secrets-gcp/commit/e43d20870c50f7428dead1411debcec075b35fb4"},{"type":"WEB","url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#142-may-21st-2020"},{"type":"WEB","url":"https://www.hashicorp.com/blog/category/vault"}]},{"provider":"osv","source_id":"GO-2022-0804","relation":"self","url":"https://osv.dev/vulnerability/GO-2022-0804","license":"CC-BY-4.0","published_at":"2024-08-21T15:29:02Z","modified_at":"2026-03-03T04:50:54.037864Z","summary":"Improper Input Validation in HashiCorp Vault in github.com/hashicorp/vault-plugin-secrets-gcp","details":"Improper Input Validation in HashiCorp Vault in github.com/hashicorp/vault-plugin-secrets-gcp","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault-plugin-secrets-gcp","purl":"pkg:golang/github.com/hashicorp/vault-plugin-secrets-gcp","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.2"}]}],"fixed":["0.6.2"],"provider":"osv","source":"GO-2022-0804","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-75pc-qvwc-jf3g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12757"},{"type":"FIX","url":"https://github.com/hashicorp/vault-plugin-secrets-gcp/commit/e43d20870c50f7428dead1411debcec075b35fb4"},{"type":"FIX","url":"https://github.com/hashicorp/vault-plugin-secrets-gcp/pull/85"},{"type":"WEB","url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#142-may-21st-2020"},{"type":"WEB","url":"https://www.hashicorp.com/blog/category/vault"}]},{"provider":"redhat-vex","source_id":"CVE-2020-12757","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2020-12757","license":"CC-BY-4.0","published_at":"2020-05-21T00:00:00Z","modified_at":"2023-08-03T08:29:12Z","summary":"vault: GCP Credentials are created with incorrect time-to-live lease duration","details":"A flaw was found in the HashiCorp Vault. The HashiCorp Vault and Vault Enterprise could allow a remote attacker to bypass security restrictions caused by incorrect access control in the secrets/gcp. By sending a specially crafted request, an attacker can bypass access restrictions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"CVE-2020-12757"},{"type":"Red Hat","score":"Moderate","source":"CVE-2020-12757"}],"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-2020-12757"},{"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-2020-12757"},{"vendor":"Red Hat","product":"Red Hat Openshift Container Storage 4","cpe":"cpe:/a:redhat:openshift_container_storage:4","status":"affected","packages":["ocs4/cephcsi-rhel8","ocs4/mcg-rhel8-operator","ocs4/ocs-rhel8-operator","ocs4/rook-ceph-rhel8-operator"],"package_count":4,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2020-12757"},{"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-2020-12757"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-12757.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-12757"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2167400"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2020-12757"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12757"}]}],"references":[{"type":"WEB","url":"https://www.hashicorp.com/blog/category/vault/"},{"type":"WEB","url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#142-may-21st-2020"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12757"},{"type":"WEB","url":"https://github.com/hashicorp/vault-plugin-secrets-gcp/pull/85"},{"type":"WEB","url":"https://github.com/hashicorp/vault-plugin-secrets-gcp/commit/e43d20870c50f7428dead1411debcec075b35fb4"},{"type":"WEB","url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md"},{"type":"WEB","url":"https://www.hashicorp.com/blog/category/vault"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-75pc-qvwc-jf3g"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-12757.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-12757"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2167400"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2020-12757"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2020-12757","url":"https://www.cve.org/CVERecord?id=CVE-2020-12757","license":"CC-BY-4.0","modified_at":"2024-08-04T12:04:22.829Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2020-12757","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12757","relation":"self"},{"provider":"osv","source_id":"BIT-vault-2020-12757","url":"https://osv.dev/vulnerability/BIT-vault-2020-12757","license":"Apache-2.0","modified_at":"2026-09-08T08:48:21.16273Z","relation":"self"},{"provider":"osv","source_id":"GHSA-75pc-qvwc-jf3g","url":"https://osv.dev/vulnerability/GHSA-75pc-qvwc-jf3g","license":"CC-BY-4.0","modified_at":"2024-08-21T15:58:30.935205Z","relation":"self"},{"provider":"osv","source_id":"GO-2022-0804","url":"https://osv.dev/vulnerability/GO-2022-0804","license":"CC-BY-4.0","modified_at":"2026-03-03T04:50:54.037864Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2020-12757","url":"https://access.redhat.com/security/cve/CVE-2020-12757","license":"CC-BY-4.0","modified_at":"2023-08-03T08:29:12Z","relation":"self"}]}
