Skip to content
OpenAdvisories
High · 7.4 CVE-2021-32923 BIT-vault-2021-32923EUVD-2021-1251GHSA-38j9-7pp9-2hjwGO-2022-0623

Invalid session token expiration

Published Jun 3, 2021 · Updated Aug 3, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Alpine v3.18 vault 1.7.2-r0 —
Alpine v3.17 vault 1.7.2-r0 —
Alpine v3.16 vault 1.7.2-r0 —
Alpine v3.15 vault 1.7.2-r0 —
Alpine v3.14 vault 1.7.2-r0 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.13 vault 1.5.9-r0 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling k3d +2 5.6.0-r11 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/hashicorp/vault >= 1.7.0, < 1.7.2 1.7.2 GHSA-38j9-7pp9-2hjw
Go github.com/hashicorp/vault >= 1.6.0, < 1.6.5 1.6.5 GHSA-38j9-7pp9-2hjw
Go github.com/hashicorp/vault >= 0.10.0, < 1.5.9 1.5.9 GHSA-38j9-7pp9-2hjw
Go github.com/hashicorp/vault >= 0.10.0, < 1.5.9 · >= 1.6.0, < 1.6.5 · >= 1.7.0, < 1.7.2 1.5.9, 1.6.5, 1.7.2 GO-2022-0623

References