CVE-2021-3282 Improper Authentication in HashiCorp Vault

High 7.5 Published Updated

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.

PackageAffectedFixed in
github.com/hashicorp/vault GoFrom 1.6.01.6.2
github.com/hashicorp/vault GoFrom 1.6.01.6.2
github.com/hashicorp/vault GoFrom 1.6.01.6.2
vault BitnamiFrom 1.6.01.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.

All Hashicorp Vault vulnerabilities

Sources

Also known as BIT-vault-2021-3282, GHSA-rq95-xf66-j689, GO-2024-2509.

Is CVE-2021-3282 in your software?

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

Check your SBOMs for free