Description
Perry before 0.5.1166 contains a JWT validation vulnerability that allows remote attackers to bypass token expiration by exploiting the unconditional setting of validate_exp = false in the verify_decode helper within the stdlib JWT verification path. Attackers in possession of a previously issued bearer token can present expired tokens to any jwt.verify() call and retain authenticated access indefinitely, bypassing force-expired sessions such as user logout or administrative revocation.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PerryTS | perry | < 0.5.1166 | 0.5.1166 |
References
- https://github.com/PerryTS/perry/releases/v0.5.1166 release-notes
- GitHub Security Advisory (GHSA-5324-c68v-8w62) vendor-advisory
- https://www.vulncheck.com/advisories/perry-jwt-expiration-bypass-via-verify-decode third-party-advisory