CVE-2020-16251 HashiCorp Vault Authentication bypass

High 8.2 Published Updated

Attackers can bypass authentication in HashiCorp Vault when the GCP GCE auth method is enabled, potentially gaining unauthorized access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-16251?

CVE-2020-16251 is a high-severity authentication bypass vulnerability in Hashicorp Vault, published on 26 Aug 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

HashiCorp Vault and Vault Enterprise versions 0.8.3 and newer, when configured with the GCP GCE auth method, may be vulnerable to authentication bypass. Fixed in 1.2.5, 1.3.8, 1.4.4, and 1.5.1.

Weakness: CWE-287

Which versions are affected by CVE-2020-16251?

10 open source packages ship an affected version, including github.com/hashicorp/vault and vault. It affects 1 product.

PackageAffectedFixed in
github.com/hashicorp/vault GoFrom 0.8.31.2.5, 1.3.8, 1.4.4, 1.5.1
github.com/hashicorp/vault GoFrom 0.8.31.2.5
github.com/hashicorp/vault GoFrom 0.8.31.2.5
github.com/hashicorp/vault GoFrom 1.3.01.3.8
github.com/hashicorp/vault GoFrom 1.3.01.3.8
github.com/hashicorp/vault GoFrom 1.4.01.4.4
4 more packages
github.com/hashicorp/vault GoFrom 1.4.01.4.4
github.com/hashicorp/vault GoFrom 1.5.01.5.1
github.com/hashicorp/vault GoFrom 1.5.01.5.1
vault BitnamiFrom 0.8.31.2.5, 1.3.8, 1.4.4, 1.5.1

Products include Hashicorp Vault.

How do I fix CVE-2020-16251?

Upgrade github.com/hashicorp/vault to a fixed version for your release line: 1.2.5, 1.3.8, 1.4.4 or 1.5.1.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2020-16251 being exploited?

There is no known exploitation of CVE-2020-16251 in the wild and no public exploit code.

All Hashicorp Vault vulnerabilities

Sources

Also known as BIT-vault-2020-16251, GHSA-4mp7-2m29-gqxf, GO-2024-2488.

Is CVE-2020-16251 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free