CVE-2021-3282 Improper Authentication in HashiCorp Vault
Unauthenticated attackers can execute raft operator commands on DR secondaries, potentially compromising cluster integrity and data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-3282?
CVE-2021-3282 is a high-severity authentication bypass vulnerability in Hashicorp Vault, published on 1 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
HashiCorp Vault Enterprise 1.6.0 & 1.6.1 allowed the `remove-peer` raft operator command to be executed against DR secondaries without authentication. Fixed in 1.6.2.
Weakness: CWE-287
Which versions are affected by CVE-2021-3282?
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.6.0 | 1.6.2 |
github.com/hashicorp/vault Go | From 1.6.0 | 1.6.2 |
github.com/hashicorp/vault Go | From 1.6.0 | 1.6.2 |
vault Bitnami | From 1.6.0 | 1.6.1, 1.6.2 |
Products include Hashicorp Vault.
How do I fix CVE-2021-3282?
Upgrade github.com/hashicorp/vault to 1.6.2 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2021-3282 being exploited?
There is no known exploitation of CVE-2021-3282 in the wild and no public exploit code.
Other vulnerabilities in Hashicorp Vault
Sources
Also known as BIT-vault-2021-3282, GHSA-rq95-xf66-j689, GO-2024-2509.