Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-12757

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-12757
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:49 UTC · Revision 1

Source evidence

CVE-2020-12757

core-osv · Original source

Published 10 Jun 2020, 19:15 UTC

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.

osv:CVE-2020-12757
Complete source record
{
  "id": "809953c85e75770be64551e1ba90b7415c1582a0fb3b9646605212763cd74540",
  "url": "https://osv.dev/vulnerability/CVE-2020-12757",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-12757",
    "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.",
    "evidence": "osv:CVE-2020-12757",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2020-12757",
      "aliases": [
        "BIT-vault-2020-12757",
        "CVE-2020-12757",
        "GHSA-75pc-qvwc-jf3g",
        "GO-2022-0804"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hashicorp/vault",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d808ace758b9bac5c84a9634ffbfae43c5f5a3ad"
                },
                {
                  "fixed": "18f1c494be8b06788c2fdda1a4296eb3c4b174ce"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "1.4.0"
                      },
                      {
                        "fixed": "1.4.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "1.4.0"
                      },
                      {
                        "fixed": "1.4.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-12757.json"
          }
        }
      ],
      "modified": "2026-10-20T10:51:46.624112027Z",
      "provider": "osv",
      "references": [
        "https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#142-may-21st-2020",
        "https://www.hashicorp.com/blog/category/vault/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-12757",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 382925,
  "published_at": "2020-06-10T19:15:09.647+00:00"
}