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.
Problem types
Insufficient Session Expiration
Product status
Any version before 0.5.1166
Credits
Katriel Moses
VulnCheck
References
github.com/PerryTS/perry/releases/v0.5.1166
github.com/.../perry/security/advisories/GHSA-5324-c68v-8w62
www.vulncheck.com/...jwt-expiration-bypass-via-verify-decode