{"id":"CVE-2021-32923","aliases":["ALPINE-CVE-2021-32923","BIT-vault-2021-32923","EUVD-2021-1251","GHSA-38j9-7pp9-2hjw","GO-2022-0623"],"status":"published","title":"Invalid session token expiration","description":"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.","severity":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.01376,"percentile":0.72447,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-613"],"published":"2021-06-03T10:38:26Z","modified":"2026-11-03T06:32:58Z","fixes":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","fixed_in":["1.7.2","1.6.5","1.5.9"],"sources":["ghsa","osv"]},{"ecosystem":"Alpine:v3.13","package":"vault","fixed_in":["1.5.9-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"vault","fixed_in":["1.7.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"vault","fixed_in":["1.7.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"vault","fixed_in":["1.7.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"vault","fixed_in":["1.7.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"vault","fixed_in":["1.7.2-r0"],"sources":["osv"]},{"ecosystem":"Bitnami","package":"vault","fixed_in":["1.5.9","1.6.5","1.7.2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.0"},{"fixed":"1.7.2"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.6.0"},{"fixed":"1.6.5"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.10.0"},{"fixed":"1.5.9"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.10.0"},{"fixed":"1.5.9-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.10.0"},{"fixed":"1.7.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.10.0"},{"fixed":"1.7.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.10.0"},{"fixed":"1.7.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.10.0"},{"fixed":"1.7.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.10.0"},{"fixed":"1.7.2-r0"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0.10.0"},{"fixed":"1.5.9"},{"introduced":"1.6.0"},{"fixed":"1.6.5"},{"introduced":"1.7.0"},{"fixed":"1.7.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.7.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.6.0"},{"fixed":"1.6.5"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0.10.0"},{"fixed":"1.5.9"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"0.10.0"},{"fixed":"1.5.9"},{"introduced":"1.6.0"},{"fixed":"1.6.5"},{"introduced":"1.7.0"},{"fixed":"1.7.2"}]}]}],"products":[{"vendor":"hashicorp","product":"vault"}],"references":[{"url":"https://www.hashicorp.com/blog/category/vault/","tags":["x_refsource_MISC","x_transferred","Product","Vendor Advisory","advisory"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2021-15-vault-renewed-nearly-expired-leases-with-incorrect-non-expiring-ttls/24603","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://security.gentoo.org/glsa/202207-01","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32923","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-38j9-7pp9-2hjw","tags":["advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-32923","tags":["advisory"]},{"url":"https://www.hashicorp.com/blog/category/vault","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-32923","description":"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.","status":"published","published":"2021-06-03T10:38:26Z","modified":"2024-08-03T23:33:56.091Z","updated_at":"2026-11-02T14:33:07.014772Z"}],"euvd":[{"id":"EUVD-2021-1251","description":"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.","status":"published","published":"2021-06-03T10:38:26Z","modified":"2024-08-03T23:33:56Z","updated_at":"2026-11-03T03:24:35.30045Z"}],"ghsa":[{"id":"GHSA-38j9-7pp9-2hjw","title":"Invalid session token expiration ","description":"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.","status":"published","published":"2021-06-08T18:52:05Z","modified":"2023-01-27T05:02:50Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-613"],"updated_at":"2026-11-02T14:36:19.144959Z"}],"nvd":[{"id":"CVE-2021-32923","description":"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.","status":"published","published":"2021-06-03T11:15:08.737Z","modified":"2026-06-17T03:53:48.407Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-613"],"updated_at":"2026-11-02T14:06:53.987491Z"}],"osv":[{"id":"ALPINE-CVE-2021-32923","description":"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.","status":"published","published":"2021-06-03T11:15:08.737Z","modified":"2026-11-03T06:32:58.485346392Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-03T07:16:09.603409Z"},{"id":"CVE-2021-32923","description":"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.","status":"published","published":"2021-06-03T11:15:08.737Z","modified":"2026-10-24T10:30:43.051010179Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:19.793849Z"},{"id":"GHSA-38j9-7pp9-2hjw","title":"Invalid session token expiration ","description":"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.","status":"published","published":"2021-06-08T18:52:05Z","modified":"2026-09-10T03:49:15.100452623Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-613"],"updated_at":"2026-11-02T15:46:35.406455Z"},{"id":"BIT-vault-2021-32923","description":"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.","status":"published","published":"2024-03-06T11:10:47.493Z","modified":"2026-09-08T08:48:21.301273216Z","updated_at":"2026-11-02T15:28:36.104787Z"},{"id":"GO-2022-0623","title":"Invalid session token expiration in github.com/hashicorp/vault","description":"Invalid session token expiration in github.com/hashicorp/vault","status":"published","published":"2024-08-21T15:11:40Z","modified":"2026-02-04T03:05:09.824883Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
