CVE-2021-38554
MEDIUM 5.3CVSS 3.1Improper Removal of Sensitive Information Before Storage or Transfer in HashiCorp Vault
HashiCorp Vault and Vault Enterprise’s UI erroneously cached and exposed user-viewed secrets between sessions in a single shared browser. Fixed in 1.8.0 and pending 1.7.4 / 1.6.6 releases.
- Published
- 13 Aug 2021
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-212
- Also known as
- BIT-vault-2021-38554GHSA-6239-28c2-9mrmGO-2022-0632
- Sources
- NVDJSONOSV GHSA-6239-28c2-9mrmJSONOSV GO-2022-0632JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* |
< 1.8.0 | 1.8.0 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
< 1.8.0 | 1.8.0 |
| OSV | Go | github.com/hashicorp/vault | < 1.6.6 | 1.6.6 |
| OSV | Go | github.com/hashicorp/vault | >= 1.7.0, < 1.7.4 | 1.7.4 |
| OSV | Go | github.com/hashicorp/vault | < 1.6.6; >= 1.7.0, < 1.7.4 | 1.6.6, 1.7.4 |
References
- https://discuss.hashicorp.com/t/hcsec-2021-19-vault-s-ui-cached-user-viewed-secrets-between-shared-browser-sessions/28166 · Vendor Advisory, WEB
- https://security.gentoo.org/glsa/202207-01 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-38554 · ADVISORY
- https://github.com/hashicorp/vault · PACKAGE
- https://github.com/hashicorp/vault/releases/tag/v1.6.6 · WEB
- https://github.com/hashicorp/vault/releases/tag/v1.7.4 · WEB
- https://github.com/advisories/GHSA-6239-28c2-9mrm · 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)