Security context

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

http-party/http-server
master @ 0d3b7bb
4
Fixes
1
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Denial of Service: 2 prior fixes. Scrutinize any change in this area.
lib/http-server.js: most-fixed (2 issues). Treat as high-risk during review.
1 high-severity fix 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: Unsanitized control characters in redirect URLs can cause the Node.js HTTP response headers to fail validation, triggering unhandled exceptions that crash the entire server process (CVE-2019-10775).
Denial of Service: Misconfiguration of server authorization parameters combined with malformed Authorization headers can trigger unhandled runtime exceptions during credential parsing, resulting in a denial of service.
Prototype Pollution: The use of deprecated command-line argument parsing libraries (specifically 'optimist') allows malicious input parameters to pollute the global Object prototype, potentially leading to remote code execution or property injection.