Skip to main content
← All vulnerabilities
CVE-2021-21419PYSEC-2021-12GHSA-9P9M-JM8W-94P2

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.31.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • eventlet eventlet

    From 0.10 · fixed in 0.31.0

  • eventletPyPI

    From 0.10.0 · fixed in 0.31.0

  • eventletPyPI

    From 0.10 · fixed in 0.31.0

References 3

GitHub · eventlet/eventlet

lists.fedoraproject.org