CVE-2021-38554 json
Improper Removal of Sensitive Information Before Storage or Transfer in HashiCorp Vault
published 2021-08-13 5 y ago modified 2026-09-10 1 mo ago also BIT-vault-2021-38554 , EUVD-2021-1586 , GHSA-6239-28c2-9mrm , GO-2022-0632
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/hashicorp/vault 1.6.6, 1.7.4
- bitnami vault 1.8.0
- hashicorp vault 1.8.0
- vault Alpine 3.14 1.7.4-r0
alpine advisories ALPINE-CVE-2021-38554
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- vault Arch Linux 1.9.0-1
arch linux advisories AVG-2294
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-38554 updated cvss 5.3
vault: UI erroneously cached and exposed user-viewed secrets between sessions in a single shared browser
-
Red Hat OpenShift Container Platform 4 openshift4/ose-installer, openshift4/topology-aware-lifecycle-manager-rhel8-operatoraffected: no fix planned “Will not fix”
-
Red Hat Openshift Container Storage 4 ocs4/cephcsi-rhel8, ocs4/mcg-rhel8-operator, ocs4/ocs-rhel8-operator, ocs4/rook-ceph-rhel8-operatoraffected: no fix planned “Out of support scope”
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/logging-loki-rhel8 Red Hat OpenShift Service Mesh 2.0 servicemesh, servicemesh-mixc, servicemesh-mixs, servicemesh-istioctl, servicemesh-pilot-agent, servicemesh-pilot-discovery Red Hat Advanced Cluster Management for Kubernetes 2 vault Red Hat Openshift Data Foundation 4 odf4/cephcsi-rhel9, odf4/mcg-rhel9-operator, odf4/ocs-rhel9-operator, odf4/odf-rhel8-operator, odf4/odr-rhel8-operator, odf4/rook-ceph-rhel8-operator, +1 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.91% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:P/I:N/A:N |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/hashicorp/vault | <1.6.6 >=1.7.0, <1.7.4 |
1.6.6 1.7.4 |
| bitnami | vault | <1.8.0 |
1.8.0 |
Classification
- Weakness
-
- CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer
References
-
security.gentoo.org
/glsa/202207-01
vendor-advisory, web, third-party-advisory, advisory
-
discuss.hashicorp.com
/t/hcsec-2021-19-vault-s-ui-cached-user-viewed-secrets-between-shared-browser-sessions/28166
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-38554
advisory, web
-
github.com
/hashicorp/vault
package
-
github.com
/hashicorp/vault/releases/tag/v1.6.6
web
-
github.com
/hashicorp/vault/releases/tag/v1.7.4
web
-
github.com
/advisories/GHSA-6239-28c2-9mrm
advisory
Sources
- CVE List CVE-2021-38554
- GitHub Advisory GHSA-6239-28c2-9mrm
- NVD CVE-2021-38554
- OSV BIT-vault-2021-38554
- OSV GO-2022-0632
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.