CVE-2022-30689 HashiCorp Vault improper configuration of multi factor authentication
Attackers can bypass Multi-Factor Authentication on login after server restarts in HashiCorp Vault, allowing unauthorized access to protected resources.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-30689?
CVE-2022-30689 is a medium-severity authentication bypass vulnerability in Hashicorp Vault, published on 17 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
HashiCorp Vault and Vault Enterprise from 1.10.0 to 1.10.2 did not correctly configure and enforce MFA on login after server restarts. This affects the Login MFA feature introduced in Vault and Vault Enterprise 1.10.0 and does not affect the separate Enterprise MFA feature set. Fixed in 1.10.3.
Which versions are affected by CVE-2022-30689?
4 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 1.10.0 | 1.10.3 |
github.com/hashicorp/vault Go | From 1.10.0 | 1.10.3 |
github.com/hashicorp/vault Go | From 1.10.0 | 1.10.3 |
vault Bitnami | From 1.10.0 | 1.10.3 |
Products include Hashicorp Vault.
How do I fix CVE-2022-30689?
Upgrade github.com/hashicorp/vault to 1.10.3 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2022-30689 being exploited?
There is no known exploitation of CVE-2022-30689 in the wild and no public exploit code.
Other vulnerabilities in Hashicorp Vault
Sources
Also known as BIT-vault-2022-30689, GHSA-c5wc-v287-82pc, GO-2022-0590.