Security context

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

rustls/tokio-rustls
main @ c1dc318
5
Fixes
1
CVEs
HIGH
Peak severity
20.0%
Coverage
Highlights
Denial of Service: 4 prior fixes. Scrutinize any change in this area.
tokio-rustls: 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.

Denial of Service: An infinite loop can be triggered during early configuration acceptance (LazyConfigAcceptor) if a client sends an immediate EOF. This results in 100% CPU exhaustion and denies service to all other concurrent connections.
Denial of Service: Flawed packet processing state machines can spin indefinitely upon receiving sudden TLS alerts from the peer instead of bubbling up a connection error. This stalls the async reactor.
Memory Corruption: Improperly managed raw context pointers on successful MidHandshake completion can result in use-after-free or invalid pointer dereferences, compromising memory safety.