Security context

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

defguard/defguard
stable/2.x @ aa32245
69
Fixes
0
CVEs
CRITICAL
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 40 prior fixes. Scrutinize any change in this area.
src/handlers/auth.rs: most-fixed (6 issues). Treat as high-risk during review.
40 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: LDAP authentication could be bypassed due to unescaped input queries and a lack of proper credential verification via a real LDAP bind sequence. Developers should ensure inputs are strictly escaped and that a real bind occurs.
Auth Bypass: Insecure inter-component communication could occur if mutual TLS (mTLS) with strict client certificate verification is not enforced, potentially allowing rogue proxies or gateways to authenticate.
Auth Bypass: Modified or unauthorized WireGuard devices could bypass MFA networks if the gateway fails to filter out unauthorized peers or disconnect sessions when MFA authorization checks fail.