{"id":"CVE-2020-12757","aliases":["CVE-2020-12757","GHSA-75pc-qvwc-jf3g","BIT-VAULT-2020-12757","GO-2022-0804"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Input Validation in HashiCorp Vault","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 the engine-configured setting. This may lead to generated GCP credentials being valid for longer than intended. Fixed in 1.4.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Improper Input Validation in HashiCorp Vault in github.com/hashicorp/vault-plugin-secrets-gcp","format":"markdown","source":"go"},{"lang":"es","text":"HashiCorp Vault y Vault Enterprise versión 1.4.0 y versión 1.4.1, cuando se configuran con el Motor de Secretos GCP, pueden generar incorrectamente Credenciales GCP con la duración de alquiler predeterminada en lugar de la configuración del motor. Esto puede llevar a que las credenciales de BPC generadas sean válidas durante más tiempo del previsto. Corregido en la versión 1.4.2","source":"nvd"}],"published":"2020-06-10T18:46:12.000Z","modified":"2026-09-08T08:48:21.162Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-20","CWE-269"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.6.2"}],"ecosystem":"Go","package":"github.com/hashicorp/vault-plugin-secrets-gcp","purl":"pkg:golang/github.com/hashicorp/vault-plugin-secrets-gcp","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.6.2"}],"ecosystem":"Go","package":"github.com/hashicorp/vault-plugin-secrets-gcp","purl":"pkg:golang/github.com/hashicorp/vault-plugin-secrets-gcp","source":"go"},{"ranges":[{"status":"affected","introduced":"1.4.0","fixed":"1.4.2"},{"status":"affected","introduced":"1.4.0","fixed":"1.4.2"}],"vendor":"hashicorp","product":"vault","cpe":"cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"1.4.0","status":"affected","fixed":"1.4.2"}],"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","source":"bitnami"}],"references":[{"url":"https://www.hashicorp.com/blog/category/vault/","tags":["advisory","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#142-may-21st-2020","tags":["advisory","release-notes","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12757","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/hashicorp/vault-plugin-secrets-gcp/pull/85","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/hashicorp/vault-plugin-secrets-gcp/commit/e43d20870c50f7428dead1411debcec075b35fb4","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md","tags":["web"],"sources":["ghsa","go"]},{"url":"https://www.hashicorp.com/blog/category/vault","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-75pc-qvwc-jf3g","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-12757","url":"https://www.cve.org/CVERecord?id=CVE-2020-12757","licence":"CVE Terms of Use","modified":"2024-08-04T12:04:22.829Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-75pc-qvwc-jf3g","url":"https://github.com/advisories/GHSA-75pc-qvwc-jf3g","licence":"CC-BY-4.0","modified":"2024-08-21T15:58:30.935Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0804","url":"https://pkg.go.dev/vuln/GO-2022-0804","licence":"CC-BY-4.0","modified":"2026-03-03T04:50:54.037Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-12757","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12757","licence":"Public domain","modified":"2026-06-17T02:52:14.830Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-VAULT-2020-12757","url":"https://osv.dev/vulnerability/BIT-VAULT-2020-12757","licence":"Apache-2.0","modified":"2026-09-08T08:48:21.162Z"}],"updatedAt":"2026-11-25T22:57:52.880Z","epss":{"score":0.0156,"percentile":0.75592,"date":"2026-11-30T12:00:22.000Z"}}