Security context

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

pallets/quart
main @ 5817e98
29
Fixes
1
CVEs
HIGH
Peak severity
63.0%
Coverage
Highlights
Denial of Service: 19 prior fixes. Scrutinize any change in this area.
quart/asgi.py: most-fixed (4 issues). Treat as high-risk during review.
8 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: Incomplete enforcement of size limits on multipart form parsing (specifically across multiple data events or when configuration limits are missing) can allow attackers to cause memory exhaustion DoS, as tracked under CVE-2024-49767.
Auth Bypass: Misrouting request-lifecycle logic (such as executing HTTP pre-request hooks or fetching session data from the HTTP request context instead of WebSocket-specific contexts) can bypass crucial authentication and session-validation guards on WebSocket endpoints.
Denial of Service: Failure to actively cancel pending tasks, handle missing payload attributes, or break out of connection loops during client disconnects results in resource and task leaks within the ASGI connection layer.