Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/hashicorp/vault-plugin-secrets-gcp
  4. ›
  5. CVE-2020-12757

CVE-2020-12757: Improper Privilege Management

May 18, 2021 (updated October 2, 2023)

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.

References

  • github.com/advisories/GHSA-75pc-qvwc-jf3g
  • github.com/hashicorp/vault-plugin-secrets-gcp/commit/e43d20870c50f7428dead1411debcec075b35fb4
  • github.com/hashicorp/vault-plugin-secrets-gcp/pull/85
  • github.com/hashicorp/vault/blob/master/CHANGELOG.md
  • github.com/hashicorp/vault/blob/master/CHANGELOG.md
  • nvd.nist.gov/vuln/detail/CVE-2020-12757
  • www.hashicorp.com/blog/category/vault/

Code Behaviors & Features

Detect and mitigate CVE-2020-12757 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.6.2

Fixed versions

  • v0.6.2

Solution

Upgrade to version 0.6.2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management

Source file

go/github.com/hashicorp/vault-plugin-secrets-gcp/CVE-2020-12757.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:33 +0000.