Live threats

All CVEs / Hashicorp

CVE-2020-12757Hashicorp Vault

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Jun 10, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-269
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vault.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/hashicorp/vault-plugin-secrets-gcp < 0.6.2 0.6.2 go get github.com/hashicorp/vault-plugin-secrets-gcp@v0.6.2
Go github.com/hashicorp/vault-plugin-secrets-gcp < 0.6.2 0.6.2 go get github.com/hashicorp/vault-plugin-secrets-gcp@v0.6.2

Per OSV / GitHub Advisories (GHSA-75pc-qvwc-jf3g, GO-2022-0804). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hashicorpvault≥ 1.4.0 < 1.4.2
hashicorpvault≥ 1.4.0 < 1.4.2

Official sources

References

Links published by the sources. Open them with care.