{"id":"CVE-2021-32923","aliases":["CVE-2021-32923","GHSA-38j9-7pp9-2hjw","BIT-VAULT-2021-32923","GO-2022-0623"],"related":["CGA-v8p9-4843-p8j6"],"kind":"vulnerability","state":"published","title":"Invalid session token expiration","summary":"HashiCorp Vault and Vault Enterprise allowed the renewal of nearly-expired token leases and dynamic secret leases (specifically, those within 1 second of their maximum TTL), which caused them to be incorrectly treated as non-expiring during subsequent use. Fixed in 1.5.9, 1.6.5, and 1.7.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"HashiCorp Vault and Vault Enterprise allowed the renewal of nearly-expired token leases and dynamic secret leases (specifically, those within 1 second of their maximum TTL), which caused them to be incorrectly treated as non-expiring during subsequent use. Fixed in 1.5.9, 1.6.5, and 1.7.2.","source":"cvelist"},{"lang":"en","text":"Invalid session token expiration in github.com/hashicorp/vault","format":"markdown","source":"go"},{"lang":"es","text":"HashiCorp Vault y Vault Enterprise permitían la renovación de los contratos de alquiler de tokens casi caducados y de los contratos de alquiler de secretos dinámicos (concretamente, los que estaban a menos de 1 segundo de su TTL máximo), lo que causó que sean incorrectamente tratados como no caducados durante su uso posterior. Corregido en versiones 1.5.9, 1.6.5 y 1.7.2","source":"nvd"}],"published":"2021-06-03T10:38:26.000Z","modified":"2026-09-10T03:49:15.100Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-613"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.7.0","status":"affected","fixed":"1.7.2"}],"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.6.0","status":"affected","fixed":"1.6.5"}],"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.10.0","status":"affected","fixed":"1.5.9"}],"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.10.0","status":"affected","fixed":"1.5.9"},{"type":"semver","introduced":"1.6.0","status":"affected","fixed":"1.6.5"},{"type":"semver","introduced":"1.7.0","status":"affected","fixed":"1.7.2"}],"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","source":"go"},{"ranges":[{"status":"affected","introduced":"0.10.0","fixed":"1.5.9"},{"status":"affected","introduced":"0.10.0","fixed":"1.5.9"},{"status":"affected","introduced":"1.6.0","fixed":"1.6.5"},{"status":"affected","introduced":"1.6.0","fixed":"1.6.5"},{"status":"affected","introduced":"1.7.0","fixed":"1.7.2"},{"status":"affected","introduced":"1.7.0","fixed":"1.7.2"}],"vendor":"hashicorp","product":"vault","cpe":"cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0.10.0","status":"affected","fixed":"1.5.9"},{"type":"semver","introduced":"1.6.0","status":"affected","fixed":"1.6.5"},{"type":"semver","introduced":"1.7.0","status":"affected","fixed":"1.7.2"}],"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","source":"bitnami"}],"references":[{"url":"https://www.hashicorp.com/blog/category/vault/","tags":["advisory","product","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2021-15-vault-renewed-nearly-expired-leases-with-incorrect-non-expiring-ttls/24603","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-32923","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://www.hashicorp.com/blog/category/vault","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-38j9-7pp9-2hjw","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32923","url":"https://www.cve.org/CVERecord?id=CVE-2021-32923","licence":"CVE Terms of Use","modified":"2024-08-03T23:33:56.091Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-38j9-7pp9-2hjw","url":"https://github.com/advisories/GHSA-38j9-7pp9-2hjw","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:15.100Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0623","url":"https://pkg.go.dev/vuln/GO-2022-0623","licence":"CC-BY-4.0","modified":"2026-02-04T03:05:09.824Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32923","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32923","licence":"Public domain","modified":"2026-06-17T03:53:48.407Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-VAULT-2021-32923","url":"https://osv.dev/vulnerability/BIT-VAULT-2021-32923","licence":"Apache-2.0","modified":"2026-09-08T08:48:21.301Z"}],"updatedAt":"2026-11-25T22:58:01.633Z","epss":{"score":0.01376,"percentile":0.72855,"date":"2026-12-01T12:00:22.000Z"}}