CVE-2020-12757 json
Improper Input Validation in HashiCorp Vault
published 6y ago modified 2mo ago also BIT-vault-2020-12757 , EUVD-2021-0986 , GHSA-75pc-qvwc-jf3g , GO-2022-0804
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/hashicorp/vault-plugin-secrets-gcp 0.6.2
- bitnami vault 1.4.2
- hashicorp vault 1.4.2
Is CVE-2020-12757 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-12757 updated cvss 7.3
vault: GCP Credentials are created with incorrect time-to-live lease duration
-
Red Hat Openshift Container Storage 4 ocs4/cephcsi-rhel8, ocs4/mcg-rhel8-operator, ocs4/ocs-rhel8-operator, ocs4/rook-ceph-rhel8-operatoraffected: no fix planned “Out of support scope”
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/logging-loki-rhel8 Red Hat OpenShift Container Platform 4 openshift4/ose-installer, openshift4/topology-aware-lifecycle-manager-rhel8-operator Red Hat Openshift Data Foundation 4 odf4/cephcsi-rhel9, odf4/mcg-rhel9-operator, odf4/ocs-rhel9-operator, odf4/odf-rhel8-operator, odf4/odr-rhel8-operator, odf4/rook-ceph-rhel8-operator, +1 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.56% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/hashicorp/vault-plugin-secrets-gcp | <0.6.2 |
0.6.2 |
| bitnami | vault | >=1.4.0, <1.4.2 |
1.4.2 |
Classification
References
-
github.com
/hashicorp/vault-plugin-secrets-gcp/pull/85
web, patch
-
github.com
/hashicorp/vault-plugin-secrets-gcp/commit/e43d20870c50f7428dead1411debcec075b35fb4
web, patch
-
hashicorp.com
/blog/category/vault/
vendor-advisory, advisory
-
github.com
/hashicorp/vault/blob/master/CHANGELOG.md#142-may-21st-2020
web, release-notes, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-12757
advisory, web
-
github.com
/hashicorp/vault/blob/master/CHANGELOG.md
web
-
hashicorp.com
/blog/category/vault
web
-
github.com
/advisories/GHSA-75pc-qvwc-jf3g
advisory
Sources
- CVE List CVE-2020-12757
- GitHub Advisory GHSA-75pc-qvwc-jf3g
- NVD CVE-2020-12757
- OSV BIT-vault-2020-12757
- OSV GO-2022-0804
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.