Security context

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

actix/actix-web
main @ a945e09
22
Fixes
3
CVEs
CRITICAL
Peak severity
75.0%
Coverage
Highlights
Memory Safety: 6 prior fixes. Scrutinize any change in this area.
actix-http: most-fixed (3 issues). Treat as high-risk during review.
12 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.

Memory Safety: Misuse of UnsafeCell for concurrent configurations allows mutable aliasing and undefined behavior. Developers should enforce safe abstractions like Cell or RefCell.
HTTP Request Smuggling: Parsing chunked HTTP transfer encoding insecurely allowed request smuggling vulnerabilities (RUSTSEC-2021-0081). Strict RFC-compliant length and chunked-state validation is required in decoder logic.
Denial of Service: Integer overflows during frame length verification and memory buffer reservation can trigger out-of-memory panics or unrecoverable connection errors. Strict integer boundaries and payload discarding on overflow are required.