CVE-2021-38553 HashiCorp Vault underlying database had excessively broad filesystem permissions from v1.4.0 until v1.8.0

Medium 4.4 Published Updated

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.

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

All Hashicorp Vault vulnerabilities

Sources

Also known as BIT-vault-2021-38553, GHSA-23fq-q7hc-993r, GO-2022-0620.

Is CVE-2021-38553 in your software?

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

Check your SBOMs for free