CVE-2021-38553
MEDIUM 4.4CVSS 3.1HashiCorp Vault underlying database had excessively broad filesystem permissions from v1.4.0 until v1.8.0
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.
- Published
- 13 Aug 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-281
- Also known as
- BIT-vault-2021-38553GHSA-23fq-q7hc-993rGO-2022-0620
- Sources
- NVDJSONOSV GHSA-23fq-q7hc-993rJSONOSV GO-2022-0620JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* |
>= 1.4.0, < 1.8.0 | 1.8.0 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 1.4.0, < 1.8.0 | 1.8.0 |
| OSV | Go | github.com/hashicorp/vault | >= 1.4.0, < 1.8.0 | 1.8.0 |
References
- https://discuss.hashicorp.com/t/hcsec-2021-20-vault-s-integrated-storage-backend-database-file-may-have-excessively-broad-permissions/28168 · Vendor Advisory, WEB
- https://security.gentoo.org/glsa/202207-01 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-38553 · ADVISORY
- https://github.com/hashicorp/vault · WEB
- https://github.com/advisories/GHSA-23fq-q7hc-993r · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 13 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 30 Aug 2021)