Highlights
Auth Bypass: 29 prior fixes. Scrutinize any change in this area.
lib/jwt.rb: most-fixed (17 issues). Treat as high-risk during review.
25 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Auth Bypass: Rejection of nil or empty HMAC keys is vital; failure to validate key inputs allows attackers to spoof valid signatures using blank keys.
Auth Bypass: Accessing or utilizing token claims before completing signature verification allows unauthenticated payloads to be processed as valid.
Auth Bypass: Allowing tokens to omit the 'alg' header or failing to enforce strict algorithm allowlists leads directly to algorithm-switching and signature-bypass attacks.