Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-48809

HIGH · 7.5 CVSS Gepubliceerd: CWE-770

Beschrijving NL

python-engineio is een Python-implementatie van de Engine.IO realtime client en server. Versies vóór 4.13.2 hebben twee specifieke configuraties van de python-engineio-server waarin de grootte van inkomende berichten niet wordt gecontroleerd voordat de berichten in het geheugen worden geladen. Een aanvaller kan hiervan profiteren om onnodige geheugentoewijzingen in de python-engineio-server te veroorzaken. De twee gevallen zijn POST-AANVRAGEN, bij gebruik van ASGI met het lange pollingtransport en WebSocket-berichten, bij gebruik van Aiohttp met het WebSocket-transport. Versie 4.13.2 pakt dit probleem aan. ASGI-severs laden nu alleen de inhoud van inkomende verzoeken in het geheugen nadat is bevestigd dat de client bekend en geverifieerd is en de payloadgrootte lager is dan de maximaal toegestane grootte. Verzoeken die niet aan deze vereisten voldoen, worden afgewezen. Aiohttp-servers configureren de maximale payloadgrootte in de onderliggende WebSocket-laag van Aiohttp, zodat grote berichten door Aiohttp worden weggegooid voordat ze bij python-engineio worden afgeleverd.

Origineel (Engels) tonen

python-engineio is a Python implementation of the Engine.IO realtime client and server. Versions prior to 4.13.2 have two specific configurations of the python-engineio server in which the size of incoming messages is not checked before the messages are loaded into memory. An attacker can take advantage of these to cause unnecessary memory allocations in the python-engineio server. The two cases are POST requests, when using ASGI with the long polling transport and WebSocket messages, when using Aiohttp with the WebSocket transport. Version 4.13.2 addresses this issue. ASGI severs now only load the body of incoming requests into memory after the client is confirmed to be known and authenticated, and the payload size is below the maximum allowed size. Requests that do not comply with these requirements are discarded. Aiohttp servers configure the maximum payload size in the underlying WebSocket layer from Aiohttp, so that large messages are discarded by Aiohttp before they are delivered to python-engineio.

References