Highlights
Auth Bypass: 4 prior fixes. Scrutinize any change in this area.
security/src/main/java/io/micronaut/security/token/TokenAuthenticationFetcher.java: most-fixed (3 issues). Treat as high-risk during review.
1 high-severity fix 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: Asynchronous token validation utilizing non-sequential reactive operators (like flatMap) allowed concurrent validation execution. This let lower-precedence token validators resolve ahead of high-precedence ones, bypassing stricter authentication checks. Sequential execution must be strictly enforced.
Auth Bypass: Directly querying raw request attributes to fetch route match info instead of utilizing safe, dedicated wrapper methods can lead to authorization bypass due to unmanaged lifecycles or unexpected request states.