{"id":"CVE-2021-38554","aliases":["ALPINE-CVE-2021-38554","BIT-vault-2021-38554","GHSA-6239-28c2-9mrm","GO-2022-0632"],"summary":"HashiCorp Vault and Vault Enterprise’s UI erroneously cached and exposed user-viewed secrets between sessions in a single shared browser.","published_at":"2021-08-13T00:00:00Z","modified_at":"2026-11-03T06:32:39.862079Z","products":[{"slug":"vault","name":"HashiCorp Vault","category":"secrets"}],"rating":{"severity":"medium","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Low","vendor_ratings":[{"source":"Red Hat","rating":"Low"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.009109999984502792,"percentile":0.6072900295257568,"date":"2026-11-19T00:00:00Z"},"priority":6.3,"details":"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.","affected_stack":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.8.0"}]}],"fixed":["1.8.0"],"provider":"osv","source":"BIT-vault-2021-38554","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.6"}]}],"fixed":["1.6.6"],"provider":"osv","source":"GHSA-6239-28c2-9mrm","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}],"fixed":["1.7.4"],"provider":"osv","source":"GHSA-6239-28c2-9mrm","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.6"},{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}],"fixed":["1.6.6","1.7.4"],"provider":"osv","source":"GO-2022-0632","relation":"self"},{"ecosystem":"NVD","package":"hashicorp:vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0"}]}],"fixed":["1.8.0","1.8.0"],"provider":"nvd","source":"CVE-2021-38554","relation":"self"}],"affected_other":[{"ecosystem":"Alpine:v3.14","package":"vault","purl":"pkg:apk/alpine/vault?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.4-r0"}]}],"fixed":["1.7.4-r0"],"provider":"osv","source":"ALPINE-CVE-2021-38554","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["openshift-logging/logging-loki-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-38554"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"not_affected","packages":["servicemesh","servicemesh-istioctl","servicemesh-mixc","servicemesh-mixs","servicemesh-pilot-agent","servicemesh-pilot-discovery"],"package_count":6,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-38554"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["vault"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-38554"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/ose-installer","openshift4/topology-aware-lifecycle-manager-rhel8-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2021-38554"},{"vendor":"Red Hat","product":"Red Hat Openshift Container Storage 4","cpe":"cpe:/a:redhat:openshift_container_storage:4","status":"affected","packages":["ocs4/cephcsi-rhel8","ocs4/mcg-rhel8-operator","ocs4/ocs-rhel8-operator","ocs4/rook-ceph-rhel8-operator"],"package_count":4,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2021-38554"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/cephcsi-rhel9","odf4/mcg-rhel9-operator","odf4/ocs-rhel9-operator","odf4/odf-multicluster-rhel9-operator","odf4/odf-rhel8-operator","odf4/odr-rhel8-operator","odf4/rook-ceph-rhel8-operator"],"package_count":7,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-38554"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2021-38554","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-38554","license":"CC-BY-4.0","published_at":"2021-08-13T15:45:50Z","modified_at":"2024-08-04T01:44:23.408Z","summary":"HashiCorp Vault and Vault Enterprise’s UI erroneously cached and exposed user-viewed secrets between sessions in a single shared browser.","details":"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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-19-vault-s-ui-cached-user-viewed-secrets-between-shared-browser-sessions/28166"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202207-01"}]},{"provider":"nvd","source_id":"CVE-2021-38554","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38554","severity":[],"affected":[{"ecosystem":"NVD","package":"hashicorp:vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0"}]}],"fixed":["1.8.0","1.8.0"],"provider":"nvd","source":"CVE-2021-38554","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"ALPINE-CVE-2021-38554","relation":"self","url":"https://osv.dev/vulnerability/ALPINE-CVE-2021-38554","published_at":"2021-08-13T16:15:08.117Z","modified_at":"2026-11-03T06:32:39.862079Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"ALPINE-CVE-2021-38554"}],"affected":[{"ecosystem":"Alpine:v3.14","package":"vault","purl":"pkg:apk/alpine/vault?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.4-r0"}]}],"fixed":["1.7.4-r0"],"provider":"osv","source":"ALPINE-CVE-2021-38554","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-38554"}]},{"provider":"osv","source_id":"BIT-vault-2021-38554","relation":"self","url":"https://osv.dev/vulnerability/BIT-vault-2021-38554","license":"Apache-2.0","published_at":"2024-03-06T11:10:38.386Z","modified_at":"2026-09-08T08:48:21.288437Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"BIT-vault-2021-38554"}],"affected":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.8.0"}]}],"fixed":["1.8.0"],"provider":"osv","source":"BIT-vault-2021-38554","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://discuss.hashicorp.com/t/hcsec-2021-19-vault-s-ui-cached-user-viewed-secrets-between-shared-browser-sessions/28166"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202207-01"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38554"}]},{"provider":"osv","source_id":"GHSA-6239-28c2-9mrm","relation":"self","url":"https://osv.dev/vulnerability/GHSA-6239-28c2-9mrm","license":"CC-BY-4.0","published_at":"2021-08-30T17:22:38Z","modified_at":"2026-09-10T03:49:07.19839Z","summary":"Improper Removal of Sensitive Information Before Storage or Transfer in HashiCorp Vault","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"GHSA-6239-28c2-9mrm"}],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.6"}]}],"fixed":["1.6.6"],"provider":"osv","source":"GHSA-6239-28c2-9mrm","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}],"fixed":["1.7.4"],"provider":"osv","source":"GHSA-6239-28c2-9mrm","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38554"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-19-vault-s-ui-cached-user-viewed-secrets-between-shared-browser-sessions/28166"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault"},{"type":"WEB","url":"https://github.com/hashicorp/vault/releases/tag/v1.6.6"},{"type":"WEB","url":"https://github.com/hashicorp/vault/releases/tag/v1.7.4"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202207-01"}]},{"provider":"osv","source_id":"GO-2022-0632","relation":"self","url":"https://osv.dev/vulnerability/GO-2022-0632","license":"CC-BY-4.0","published_at":"2024-08-21T15:11:40Z","modified_at":"2026-02-04T02:47:08.18207Z","summary":"Improper Removal of Sensitive Information Before Storage or Transfer in HashiCorp Vault in github.com/hashicorp/vault","details":"Improper Removal of Sensitive Information Before Storage or Transfer in HashiCorp Vault in github.com/hashicorp/vault","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.6"},{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}],"fixed":["1.6.6","1.7.4"],"provider":"osv","source":"GO-2022-0632","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6239-28c2-9mrm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38554"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-19-vault-s-ui-cached-user-viewed-secrets-between-shared-browser-sessions/28166"},{"type":"WEB","url":"https://github.com/hashicorp/vault/releases/tag/v1.6.6"},{"type":"WEB","url":"https://github.com/hashicorp/vault/releases/tag/v1.7.4"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202207-01"}]},{"provider":"redhat-vex","source_id":"CVE-2021-38554","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-38554","license":"CC-BY-4.0","published_at":"2021-08-13T00:00:00Z","modified_at":"2023-10-25T17:21:56Z","summary":"vault: UI erroneously cached and exposed user-viewed secrets between sessions in a single shared browser","details":"A flaw was found in the vault package. The Vault UI web application may fail to completely clear a client-side data cache on user logout. As a result, an authenticated user sharing a browser to access Vault may have been able to view the previous authenticated user’s cached secrets, even if they were not authorized by Vault policies to view them.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"CVE-2021-38554"},{"type":"Red Hat","score":"Low","source":"CVE-2021-38554"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["openshift-logging/logging-loki-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-38554"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"not_affected","packages":["servicemesh","servicemesh-istioctl","servicemesh-mixc","servicemesh-mixs","servicemesh-pilot-agent","servicemesh-pilot-discovery"],"package_count":6,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-38554"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["vault"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-38554"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/ose-installer","openshift4/topology-aware-lifecycle-manager-rhel8-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2021-38554"},{"vendor":"Red Hat","product":"Red Hat Openshift Container Storage 4","cpe":"cpe:/a:redhat:openshift_container_storage:4","status":"affected","packages":["ocs4/cephcsi-rhel8","ocs4/mcg-rhel8-operator","ocs4/ocs-rhel8-operator","ocs4/rook-ceph-rhel8-operator"],"package_count":4,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2021-38554"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/cephcsi-rhel9","odf4/mcg-rhel9-operator","odf4/ocs-rhel9-operator","odf4/odf-multicluster-rhel9-operator","odf4/odf-rhel8-operator","odf4/odr-rhel8-operator","odf4/rook-ceph-rhel8-operator"],"package_count":7,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-38554"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-38554.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-38554"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1995207"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-38554"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38554"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-19-vault-s-ui-cached-user-viewed-secrets-between-shared-browser-sessions/28166"}]}],"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-19-vault-s-ui-cached-user-viewed-secrets-between-shared-browser-sessions/28166"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202207-01"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-38554"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38554"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault"},{"type":"WEB","url":"https://github.com/hashicorp/vault/releases/tag/v1.6.6"},{"type":"WEB","url":"https://github.com/hashicorp/vault/releases/tag/v1.7.4"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6239-28c2-9mrm"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-38554.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-38554"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1995207"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-38554"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2021-38554","url":"https://www.cve.org/CVERecord?id=CVE-2021-38554","license":"CC-BY-4.0","modified_at":"2024-08-04T01:44:23.408Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-38554","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38554","relation":"self"},{"provider":"osv","source_id":"ALPINE-CVE-2021-38554","url":"https://osv.dev/vulnerability/ALPINE-CVE-2021-38554","modified_at":"2026-11-03T06:32:39.862079Z","relation":"self"},{"provider":"osv","source_id":"BIT-vault-2021-38554","url":"https://osv.dev/vulnerability/BIT-vault-2021-38554","license":"Apache-2.0","modified_at":"2026-09-08T08:48:21.288437Z","relation":"self"},{"provider":"osv","source_id":"GHSA-6239-28c2-9mrm","url":"https://osv.dev/vulnerability/GHSA-6239-28c2-9mrm","license":"CC-BY-4.0","modified_at":"2026-09-10T03:49:07.19839Z","relation":"self"},{"provider":"osv","source_id":"GO-2022-0632","url":"https://osv.dev/vulnerability/GO-2022-0632","license":"CC-BY-4.0","modified_at":"2026-02-04T02:47:08.18207Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-38554","url":"https://access.redhat.com/security/cve/CVE-2021-38554","license":"CC-BY-4.0","modified_at":"2023-10-25T17:21:56Z","relation":"self"}]}
