Security context

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

symfony/security
4.4 @ b3eab8b
7
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
Core/Authentication/Provider/UserAuthenticationProvider.php: most-fixed (2 issues). Treat as high-risk during review.
2 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: Inconsistencies and logical flaws in how token state and user roles are compared on subsequent requests can prevent the system from detecting changes in a user's roles, resulting in authorization bypass or failure to invalidate stale sessions.
User Enumeration: Discrepancies in the exceptions thrown or processed during authentication failures (e.g., distinguishing between inactive users and wrong credentials) allow attackers to enumerate valid usernames.
Denial of Service: Passing unexpected non-string parameters (like arrays) into CSRF token checks triggers unhandled PHP TypeErrors, causing request processing to crash.