AIOHTTP versions from 0.2.0 up to but not including 0.5.0_4 have a vulnerability where data received during an upgrade request (such as a WebSocket handshake) is buffered without limit until the handler finishes. This can lead to unbounded memory consumption if an attacker streams data behind the upgrade request to a handler that does not promptly accept or reject the upgrade. A patch fixing this issue is available in version 0.5.0_4.