{"id":"CVE-2021-38554","aliases":["CVE-2021-38554","GHSA-6239-28c2-9mrm","BIT-VAULT-2021-38554","GO-2022-0632"],"related":["CGA-r8mq-qj3f-7fpc"],"kind":"vulnerability","state":"published","title":"Improper Removal of Sensitive Information Before Storage or Transfer in HashiCorp Vault","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Improper Removal of Sensitive Information Before Storage or Transfer in HashiCorp Vault in github.com/hashicorp/vault","format":"markdown","source":"go"},{"lang":"es","text":"La interfaz de usuario de HashiCorp Vault y Vault Enterprise almacenaba erróneamente en caché y exponía los secretos visualizados por el usuario entre sesiones en un mismo navegador compartido. Corregido en versión 1.8.0 y en versiones pendientes 1.7.4 / 1.6.6.","source":"nvd"}],"published":"2021-08-13T15:45:50.000Z","modified":"2026-09-10T03:49:07.198Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:P/I:N/A:N","score":3.5,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-212"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.6.6"}],"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.7.0","status":"affected","fixed":"1.7.4"}],"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.6.6"},{"type":"semver","introduced":"1.7.0","status":"affected","fixed":"1.7.4"}],"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","source":"go"},{"ranges":[{"status":"affected","fixed":"1.8.0"},{"status":"affected","fixed":"1.8.0"}],"vendor":"hashicorp","product":"vault","cpe":"cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.8.0"}],"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","source":"bitnami"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2021-19-vault-s-ui-cached-user-viewed-secrets-between-shared-browser-sessions/28166","tags":["advisory","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202207-01","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-gentoo","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38554","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/hashicorp/vault","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/hashicorp/vault/releases/tag/v1.6.6","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/hashicorp/vault/releases/tag/v1.7.4","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-6239-28c2-9mrm","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-38554","url":"https://www.cve.org/CVERecord?id=CVE-2021-38554","licence":"CVE Terms of Use","modified":"2024-08-04T01:44:23.408Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6239-28c2-9mrm","url":"https://github.com/advisories/GHSA-6239-28c2-9mrm","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:07.198Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0632","url":"https://pkg.go.dev/vuln/GO-2022-0632","licence":"CC-BY-4.0","modified":"2026-02-04T02:47:08.182Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-38554","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38554","licence":"Public domain","modified":"2026-06-17T04:02:21.100Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-VAULT-2021-38554","url":"https://osv.dev/vulnerability/BIT-VAULT-2021-38554","licence":"Apache-2.0","modified":"2026-09-08T08:48:21.288Z"}],"updatedAt":"2026-11-25T22:58:03.228Z","epss":{"score":0.00911,"percentile":0.61051,"date":"2026-12-01T12:00:22.000Z"}}