3.7Baja

CVE-2026-44546Header injection via WebSocket upgrade parser differential allows ASGI scope header spoofing

djangoproject daphne Publicada: (hace 5 meses)

Descripción

daphne before 4.2.2 reconstructs a raw HTTP request from Twisted's parsed headers and feeds it to autobahn for WebSocket handshake processing. Twisted does not treat \x0b, \x0c, \x1c, \x1d, \x1e, or \x85 as header line separators, but autobahn decodes header values to str and calls splitlines(). An attacker can exploit this parser differential to inject additional headers into the ASGI scope passed to the application. daphne now rejects requests with these bytes in any header value with a 400 response.

Debilidad (CWE): CWE-444

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
djangoproject daphne 4.2.0 – ≤ 4.2.1, fixed 4.2.2

Referencias y parches

Coincidencias CPE (NVD) (1)

  • cpe:2.3:a:djangoproject:daphne:*:*:*:*:*:*:*:* < 4.2.2