CVE-2020-12757
CRITICAL 9.8CVSS 3.1Improper Input Validation in HashiCorp Vault
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.
- Published
- 10 Jun 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20CWE-269
- Also known as
- BIT-vault-2020-12757GHSA-75pc-qvwc-jf3gGO-2022-0804
- Sources
- NVDJSONOSV GHSA-75pc-qvwc-jf3gJSONOSV GO-2022-0804JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* |
>= 1.4.0, < 1.4.2 | 1.4.2 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 1.4.0, < 1.4.2 | 1.4.2 |
| OSV | Go | github.com/hashicorp/vault-plugin-secrets-gcp | < 0.6.2 | 0.6.2 |
References
- https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#142-may-21st-2020 · Release Notes, Vendor Advisory, WEB
- https://www.hashicorp.com/blog/category/vault/ · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-12757 · ADVISORY
- https://github.com/hashicorp/vault-plugin-secrets-gcp/pull/85 · WEB, FIX
- https://github.com/hashicorp/vault-plugin-secrets-gcp/commit/e43d20870c50f7428dead1411debcec075b35fb4 · WEB, FIX
- https://github.com/hashicorp/vault/blob/master/CHANGELOG.md · WEB
- https://github.com/advisories/GHSA-75pc-qvwc-jf3g · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 10 Jun 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 May 2021)