Highlights
Auth Bypass: 11 prior fixes. Scrutinize any change in this area.
src/Token/Parser.php: most-fixed (5 issues). Treat as high-risk during review.
13 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: Parser vulnerabilities allowed the 'none' algorithm, empty claims, or overlapping headers to bypass signature checks entirely. Developers must ensure strict structural segregation and validation during parsing.
Auth Bypass: Flaws in signature verification logic, including throwing exceptions instead of returning false or missing algorithm matching checks, allowed unsigned or mismatched tokens to bypass verification.
Auth Bypass: Using a file-path string literal as the HMAC cryptographic key instead of reading the file contents yielded extremely weak signatures that could easily be forged.