Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

auth0/java-jwt
master @ f720a21
8
Fixes
0
CVEs
CRITICAL
Peak severity
20.0%
Coverage
Highlights
Auth Bypass: 7 prior fixes. Scrutinize any change in this area.
ECDSAAlgorithm: most-fixed (2 issues). Treat as high-risk during review.
5 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: Incomplete validation of ECDSA signature parameters (R and S) allowed attackers to bypass signature verification entirely (CVE-2022-21449).
Auth Bypass: Improper parsing, format identification, and translation of ECDSA signatures between JOSE and DER formats created gaps where invalid signatures could be incorrectly accepted.
Auth Bypass: Flaws in logical claim checks (such as empty expected audience arrays or boundary conditions on expiration leeway) could allow expired or unauthorized tokens to pass verification.