7.4high
Invalid session token expiration
- Severity
- 7.4high CVSS:3.1 by NVD
- Exploit likelihood
- 1.38% (higher than 72% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-38j9-7pp9-2hjwBIT-VAULT-2021-32923GO-2022-0623
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/hashicorp/vault (Go) | from 1.7.0 before 1.7.2, from 1.6.0 before 1.6.5, from 0.10.0 before 1.5.9 | GitHub Advisory Database, Go Vulnerability Database |
| hashicorp vault | from 0.10.0 before 1.5.9, from 1.6.0 before 1.6.5, from 1.7.0 before 1.7.2 | NVD |
| vault (Bitnami) | from 0.10.0 before 1.5.9, from 1.6.0 before 1.6.5, from 1.7.0 before 1.7.2 | Bitnami Vulnerability Database |
All scores
| GitHub | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 5.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
Go Vulnerability Database
Invalid session token expiration in github.com/hashicorp/vault
NVD (es)
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
References
| https://www.hashicorp.com/blog/category/vault/ | advisory, product, vendor-advisory | |
| https://discuss.hashicorp.com/t/hcsec-2021-15-vault-renewed-nearly-expired-leases-with-incorrect-non-expiring-ttls/24603 | advisory, vendor-advisory, web | |
| https://security.gentoo.org/glsa/202207-01 | advisory, third-party-advisory, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-32923 | advisory, web | |
| https://www.hashicorp.com/blog/category/vault | web | |
| https://github.com/advisories/GHSA-38j9-7pp9-2hjw | advisory | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32923 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-38j9-7pp9-2hjw changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0623 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2021-32923 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-VAULT-2021-32923 changed 2026-09-08 | Apache-2.0 |