CVE-2026-84378
Beschrijving NL
HTTPX2 is een HTTP-client van de volgende generatie voor Python. Van 2.5.0 tot 2.10.0 kopieert en scant de HTTPX2 Server-Sent Events-parser in src/httpx2/httpx2/_sse.py herhaaldelijk gebufferde tekst in _SSELineDecoder.decode () wanneer een door een aanvaller gecontroleerd of gecompromitteerd SSE-eindpunt één niet-beëindigde regel splitst over vele reactieblokken. Het gedrag beïnvloedt httpx2.Client.sse() en httpx2.AsyncClient.sse(), en het totale verwerkingswerk groeit kwadratisch met de lijnlengte, waardoor een bewerkte stream overmatige CPU kan verbruiken en een synchrone werker of asynchrone gebeurtenislus kan blokkeren. Dit probleem is opgelost in versie 2.10.0.
Origineel (Engels) tonen
HTTPX2 is a next generation HTTP client for Python. From 2.5.0 until 2.10.0, the HTTPX2 Server-Sent Events parser in src/httpx2/httpx2/_sse.py repeatedly copies and rescans buffered text in _SSELineDecoder.decode() when an attacker-controlled or compromised SSE endpoint splits one unterminated line across many response chunks. The behavior affects httpx2.Client.sse() and httpx2.AsyncClient.sse(), and the total processing work grows quadratically with the line length, allowing a crafted stream to consume excessive CPU and block a synchronous worker or asynchronous event loop. This issue is fixed in version 2.10.0.