Security context

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

igrigorik/em-websocket
master @ 3c9e395
2
Fixes
0
CVEs
MEDIUM
Peak severity
0.0%
Coverage
Highlights
Denial of Service: 2 prior fixes. Scrutinize any change in this area.
lib/em-websocket/framing03.rb: most-fixed (1 issue). 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.

Denial of Service: Both framing versions lacked a maximum frame length limit, allowing a malicious peer to declare an arbitrarily large payload_length and exhaust server memory during buffer allocation.
Denial of Service: Non-fixed-length frames accumulated data in @data without a size cap, enabling memory exhaustion over time from a stream of oversized frames.