Update dependency daphne to v4.2.3 #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/daphne-4.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==4.2.1→==4.2.3Release Notes
django/daphne (daphne)
v4.2.3Compare Source
--websocket-max-message-sizeand--websocket-max-frame-sizeCLIflags to the
runservermanagement command for use in development.v4.2.2Compare Source
Fixed a denial of service vulnerability via unbounded WebSocket message sizes.
Daphne previously passed no message or frame size limits to autobahn,
whose defaults are unbounded. This allowed an unauthenticated client
to exhaust server memory by sending a very large WebSocket
messages/frames (CVE-2026-44545).
Both limits now default to 1 MiB and can be configured via the new
--websocket-max-message-sizeand--websocket-max-frame-sizeCLIflags (or the matching
Serverconstructor arguments). Pass0torestore the previous unlimited behaviour.
Thanks to ParkHyunWoo for the report.
Fixed a header injection vulnerability on the WebSocket upgrade path
(CVE-2026-44546).
Header values containing
\x0b,\x0c,\x1c,\x1d,\x1e,or
\x85were parsed as a single header by Twisted but split intomultiple headers by autobahn during the WebSocket handshake. An attacker
could exploit this parser differential to smuggle additional headers
(e.g. authentication tokens,
X-Forwarded-For,Origin,Daphne-Root-Path) into the ASGI scope passed to the application.Daphne now rejects requests carrying these bytes in any header value with
a 400 Bad Request response, as required by RFC 9110 §5.5.
Thanks to Rene Henningsen for the report.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.