Highlights
Denial of Service: 5 prior fixes. Scrutinize any change in this area.
src/handlers/fix-request-body.ts: most-fixed (3 issues). Treat as high-risk during review.
4 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.
HTTP Request Smuggling: Inadequate neutralization of Carriage Return/Line Feed (CR/LF) sequences in incoming headers and multipart form-data bodies allows attackers to hijack proxy connections and inject malicious requests. This vulnerability class is a critical threat to downstream servers behind the proxy.
Denial of Service: Flaws in request-body state management, such as missing conditional branches when handling Content-Type headers, can trigger duplicate write calls or uncaught exceptions, causing the Node.js process to crash.
Auth Bypass: The use of simple substring matching (such as 'indexOf') on host and path keys within routing tables allows malicious actors to craft Host headers that bypass intended routing restrictions, directing traffic to unintended destinations.