daphne
Affected
- introduced
0, fixed4.2.2(ecosystem)
Fixed versions
4.2.2
Fix
- Fixed version
4.2.2pip install --upgrade daphne==4.2.2
Advisory
Also known as: CVE-2026-44545, PYSEC-2026-213
daphne: Unauthenticated attackers can cause excessive memory consumption by sending arbitrarily large WebSocket messages/frames
daphne before 4.2.2 did not pass maxFramePayloadSize or maxMessagePayloadSize to Autobahn's WebSocketServerFactory. Because Autobahn defaults both values to 0 (unlimited), an unauthenticated remote attacker could send arbitrarily large WebSocket messages or frames, causing excessive memory consumption and a denial of service.
Medium Basis: The source's own band: MODERATE
0, fixed 4.2.2 (ecosystem)4.2.2
4.2.2pip install --upgrade daphne==4.2.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0