CVE-2021-32923Hashicorp Vault
High 7.4 No auth needed
Follow: this CVE · Hashicorp · Hashicorp Vault We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.4
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 72
- Auth required
- No
- Published
- Jun 3, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-613
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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
- Apply the vendor's security update for Vault.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/hashicorp/vault |
≥ 1.7.0 < 1.7.2 |
1.7.2 |
go get github.com/hashicorp/vault@v1.7.2 |
| Go | github.com/hashicorp/vault |
≥ 1.6.0 < 1.6.5 |
1.6.5 |
go get github.com/hashicorp/vault@v1.6.5 |
| Go | github.com/hashicorp/vault |
≥ 0.10.0 < 1.5.9 |
1.5.9 |
go get github.com/hashicorp/vault@v1.5.9 |
| Go | github.com/hashicorp/vault |
≥ 0.10.0 < 1.5.9 |
1.5.9 |
go get github.com/hashicorp/vault@v1.5.9 |
| Go | github.com/hashicorp/vault |
≥ 1.6.0 < 1.6.5 |
1.6.5 |
go get github.com/hashicorp/vault@v1.6.5 |
| Go | github.com/hashicorp/vault |
≥ 1.7.0 < 1.7.2 |
1.7.2 |
go get github.com/hashicorp/vault@v1.7.2 |
Per OSV / GitHub Advisories (GHSA-38j9-7pp9-2hjw, GO-2022-0623). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hashicorp | vault | ≥ 0.10.0 < 1.5.9 |
| hashicorp | vault | ≥ 0.10.0 < 1.5.9 |
| hashicorp | vault | ≥ 1.6.0 < 1.6.5 |
| hashicorp | vault | ≥ 1.6.0 < 1.6.5 |
| hashicorp | vault | ≥ 1.7.0 < 1.7.2 |
| hashicorp | vault | ≥ 1.7.0 < 1.7.2 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.hashicorp.com Vendor Advisory
- security.gentoo.org Third Party Advisory
- www.hashicorp.com Product Vendor Advisory