Highlights
Denial of Service: 4 prior fixes. Scrutinize any change in this area.
src/anyio/streams/tls.py: most-fixed (4 issues). Treat as high-risk during review.
0 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 enforcement of TLS EOF verification options allowed unexpected connection terminations to be ignored rather than flagged, leaving streams vulnerable to truncation attacks that bypass message integrity checks.
Denial of Service: The TLS stream implementation lacked strict timeouts and robust stream-closure guards during handshakes and unwrapping operations, exposing servers to slow-loris connection-exhaustion attacks and file descriptor leaks.
Denial of Service: Improper handling of task cancellation inside synchronization primitives like Lock and Semaphore can leave synchronization structures in a permanently locked state, resulting in application deadlocks.