eventlet
Affected
- introduced
0.10, fixed0.31.0(ecosystem)
Fixed versions
0.31.0
Fix
- Fixed version
0.31.0pip install --upgrade eventlet==0.31.0
Advisory
Also known as: CVE-2021-21419, PYSEC-2021-12
Improper Handling of Highly Compressed Data (Data Amplification) and Memory Allocation with Excessive Size Value in eventlet
Impact
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.
Patches
Version 0.31.0 restricts websocket frame to reasonable limits.
Workarounds
Restricting memory usage via OS limits would help against overall machine exhaustion. No workaround to protect Eventlet process.
For more information
If you have any questions or comments about this advisory:
Medium Basis: The source's own band: MODERATE
0.10, fixed 0.31.0 (ecosystem)0.31.0
0.31.0pip install --upgrade eventlet==0.31.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0