CVE-2020-16250 Authentication Bypass by Spoofing and Insufficient Verification of Data Authenticity in Hashicorp Vault
Attackers can bypass authentication in HashiCorp Vault when the AWS IAM 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-16250?
CVE-2020-16250 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.7.1 and newer, when configured with the AWS IAM auth method, may be vulnerable to authentication bypass. Fixed in 1.2.5, 1.3.8, 1.4.4, and 1.5.1..
Which versions are affected by CVE-2020-16250?
10 open source packages ship an affected version, including github.com/hashicorp/vault and vault. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/hashicorp/vault Go | From 0.8.1 | 1.2.5, 1.3.8, 1.4.4, 1.5.1 |
github.com/hashicorp/vault Go | From 0.8.1 | 1.2.5 |
github.com/hashicorp/vault Go | From 0.8.1 | 1.2.5 |
github.com/hashicorp/vault Go | From 1.3.0 | 1.3.8 |
github.com/hashicorp/vault Go | From 1.3.0 | 1.3.8 |
github.com/hashicorp/vault Go | From 1.4.0 | 1.4.4 |
4 more packages
github.com/hashicorp/vault Go | From 1.4.0 | 1.4.4 |
github.com/hashicorp/vault Go | From 1.5.0 | 1.5.1 |
github.com/hashicorp/vault Go | From 1.5.0 | 1.5.1 |
vault Bitnami | From 0.7.1 | 1.2.5, 1.3.8, 1.4.4, 1.5.1 |
Products include Hashicorp Vault.
How do I fix CVE-2020-16250?
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-16250 being exploited?
There is no known exploitation of CVE-2020-16250 in the wild and no public exploit code.
Other vulnerabilities in Hashicorp Vault
Sources
Also known as BIT-vault-2020-16250, GHSA-fp52-qw33-mfmw, GO-2022-0825.