CVE-2021-38553 HashiCorp Vault underlying database had excessively broad filesystem permissions from v1.4.0 until v1.8.0
Attackers with local access can read sensitive database files due to overly broad permissions in the Integrated Storage feature.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-38553?
CVE-2021-38553 is a medium-severity vulnerability in Hashicorp Vault, published on 13 Aug 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
HashiCorp Vault and Vault Enterprise 1.4.0 through 1.7.3 initialized an underlying database file associated with the Integrated Storage feature with excessively broad filesystem permissions. Fixed in Vault and Vault Enterprise 1.8.0.
Weakness: CWE-281
Which versions are affected by CVE-2021-38553?
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.4.0 | 1.8.0 |
github.com/hashicorp/vault Go | From 1.4.0 | 1.8.0 |
github.com/hashicorp/vault Go | From 1.4.0 | 1.8.0 |
vault Bitnami | From 1.4.0 | 1.8.0 |
Products include Hashicorp Vault.
How do I fix CVE-2021-38553?
Upgrade github.com/hashicorp/vault to 1.8.0 or later.
Is CVE-2021-38553 being exploited?
There is no known exploitation of CVE-2021-38553 in the wild and no public exploit code.
Other vulnerabilities in Hashicorp Vault
Sources
Also known as BIT-vault-2021-38553, GHSA-23fq-q7hc-993r, GO-2022-0620.