{"id":"CVE-2020-12757","aliases":["BIT-vault-2020-12757","EUVD-2021-0986","GHSA-75pc-qvwc-jf3g","GO-2022-0804"],"status":"published","title":"Improper Input Validation in HashiCorp Vault","description":"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":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0156,"percentile":0.75414,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20","CWE-269"],"published":"2020-06-10T18:46:12Z","modified":"2026-10-20T10:51:46Z","fixes":[{"ecosystem":"Go","package":"github.com/hashicorp/vault-plugin-secrets-gcp","fixed_in":["0.6.2"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"vault","fixed_in":["1.4.2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/vault-plugin-secrets-gcp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.2"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.4.0"},{"fixed":"1.4.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/vault-plugin-secrets-gcp","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/vault-plugin-secrets-gcp","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.2"}]}]}],"products":[{"vendor":"hashicorp","product":"vault"}],"references":[{"url":"https://www.hashicorp.com/blog/category/vault/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#142-may-21st-2020","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12757","tags":["web","advisory"]},{"url":"https://github.com/hashicorp/vault-plugin-secrets-gcp/pull/85","tags":["web","fix"]},{"url":"https://github.com/hashicorp/vault-plugin-secrets-gcp/commit/e43d20870c50f7428dead1411debcec075b35fb4","tags":["web","fix"]},{"url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md","tags":["web"]},{"url":"https://github.com/advisories/GHSA-75pc-qvwc-jf3g","tags":["advisory"]},{"url":"https://www.hashicorp.com/blog/category/vault","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2020-12757","description":"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.","status":"published","published":"2020-06-10T18:46:12Z","modified":"2024-08-04T12:04:22.829Z","updated_at":"2026-11-02T14:35:52.925152Z"}],"euvd":[{"id":"EUVD-2021-0986","description":"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.","status":"published","published":"2020-06-10T18:46:12Z","modified":"2024-08-04T12:04:22Z","updated_at":"2026-11-03T03:07:39.298733Z"}],"ghsa":[{"id":"GHSA-75pc-qvwc-jf3g","title":"Improper Input Validation in HashiCorp Vault","description":"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.","status":"published","published":"2021-05-18T18:20:48Z","modified":"2023-10-02T15:01:12Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:37:07.641671Z"}],"nvd":[{"id":"CVE-2020-12757","description":"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.","status":"published","published":"2020-06-10T19:15:09.647Z","modified":"2026-06-17T02:52:14.83Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:06:05.962132Z"}],"osv":[{"id":"CVE-2020-12757","description":"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.","status":"published","published":"2020-06-10T19:15:09.647Z","modified":"2026-10-20T10:51:46.624112027Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:14.034736Z"},{"id":"GHSA-75pc-qvwc-jf3g","title":"Improper Input Validation in HashiCorp Vault","description":"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.","status":"published","published":"2021-05-18T18:20:48Z","modified":"2024-08-21T15:58:30.935205Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:40.657155Z"},{"id":"BIT-vault-2020-12757","description":"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.","status":"published","published":"2024-03-06T11:11:44.087Z","modified":"2026-09-08T08:48:21.162730933Z","updated_at":"2026-11-02T15:28:36.104787Z"},{"id":"GO-2022-0804","title":"Improper Input Validation in HashiCorp Vault in github.com/hashicorp/vault-plugin-secrets-gcp","description":"Improper Input Validation in HashiCorp Vault in github.com/hashicorp/vault-plugin-secrets-gcp","status":"published","published":"2024-08-21T15:29:02Z","modified":"2026-03-03T04:50:54.037864Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
