ADVISORIES

Vulnerability

CVE-2021-21419

Eventlet is a concurrent networking library for Python. A websocket peer may exhaust memory on Eventlet side by sending very large websocket frames. Malicious peer may exhaust memory on Eventlet side by sending highly compressed data frame. A patch in version 0.31.0 restricts websocket frame to reasonable limits. As a workaround, restricting memory usage via OS limits would help against overall machine exhaustion, but there is no workaround to protect Eventlet process.

9 advisories report this vulnerability, across 5 ecosystems.

Advisories in PyPI

  • GHSA-9p9m-jm8w-94p2

    Improper Handling of Highly Compressed Data (Data Amplification) and Memory Allocation with Excessive Size Value in eventlet

    Moderate CVE-2021-21419 PyPI Updated 8 July 2026
  • PYSEC-2021-12

    Eventlet is a concurrent networking library for Python. A websocket peer may exhaust memory on Eventlet side by sending very large websocket frames. Malicious peer may exhaust memory on Eventlet side by sending highly…

    CVE-2021-21419 PyPI Updated 8 November 2023

References