Skip to content

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

MediumCVSS 5.3 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

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.

Upgrade path

7 packages: 6 fixed.

PackageAffectedFixed inStatus
debian/python-eventlet(Debian 12) < 0.26.1-7 0.26.1-7 Fixed
debian/python-eventlet(Debian 13) < 0.26.1-7 0.26.1-7 Fixed
debian/python-eventlet(Debian 14) < 0.26.1-7 0.26.1-7 Fixed
eventlet = >= 0.10, < 0.31.0; >= 0.10, < 0.31.0 0.31.0 Fixed
pypi eventlet(PyPI) = 0.10.0; = 0.11.0; = 0.12.1; = 0.13.0 +32 more 0.31.0 Fixed
ubuntu/python-eventlet(Ubuntu 20.04) < 0.25.1-2ubuntu1.1; = 0.25.0-0ubuntu1; = 0.25.1-2build1; = 0.25.1-2ubuntu1 0.25.1-2ubuntu1.1 Fixed
fedoraproject fedora = 33; = 34 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi eventlet(PyPI) >= 0.10, < 0.31.0 0.31.0
pypi eventlet(PyPI) = 0.10.0 No fix listed
pypi eventlet(PyPI) = 0.11.0 No fix listed
pypi eventlet(PyPI) = 0.12.1 No fix listed
pypi eventlet(PyPI) = 0.13.0 No fix listed
pypi eventlet(PyPI) = 0.14.0 No fix listed
pypi eventlet(PyPI) = 0.15.2 No fix listed
pypi eventlet(PyPI) = 0.16.1 No fix listed
pypi eventlet(PyPI) = 0.17.4 No fix listed
pypi eventlet(PyPI) = 0.18.2 No fix listed
pypi eventlet(PyPI) = 0.18.3 No fix listed
pypi eventlet(PyPI) = 0.18.4 No fix listed
pypi eventlet(PyPI) = 0.19.0 No fix listed
pypi eventlet(PyPI) = 0.20.0 No fix listed
pypi eventlet(PyPI) = 0.20.1 No fix listed
pypi eventlet(PyPI) = 0.21.0 No fix listed
pypi eventlet(PyPI) = 0.22.0 No fix listed
pypi eventlet(PyPI) = 0.22.1 No fix listed
pypi eventlet(PyPI) = 0.23.0 No fix listed
pypi eventlet(PyPI) = 0.24.0 No fix listed
pypi eventlet(PyPI) = 0.24.1 No fix listed
pypi eventlet(PyPI) = 0.25.0 No fix listed
pypi eventlet(PyPI) = 0.25.1 No fix listed
pypi eventlet(PyPI) = 0.25.2 No fix listed
pypi eventlet(PyPI) = 0.26.0 No fix listed
Show 22 more
ProductAffected versionsFixed in
pypi eventlet(PyPI) = 0.26.1 No fix listed
pypi eventlet(PyPI) = 0.27.0 No fix listed
pypi eventlet(PyPI) = 0.28.0 No fix listed
pypi eventlet(PyPI) = 0.28.1 No fix listed
pypi eventlet(PyPI) = 0.29.0 No fix listed
pypi eventlet(PyPI) = 0.29.1 No fix listed
pypi eventlet(PyPI) = 0.30.0 No fix listed
pypi eventlet(PyPI) = 0.30.1 No fix listed
pypi eventlet(PyPI) = 0.30.2 No fix listed
pypi eventlet(PyPI) = 0.30.3 No fix listed
pypi eventlet(PyPI) >= 0.10.0, < 0.31.0 0.31.0
debian/python-eventlet(Debian:12) < 0.26.1-7 0.26.1-7
debian/python-eventlet(Debian:13) < 0.26.1-7 0.26.1-7
debian/python-eventlet(Debian:14) < 0.26.1-7 0.26.1-7
eventlet >= 0.10, < 0.31.0 0.31.0
fedoraproject fedora = 33 No fix listed
fedoraproject fedora = 34 No fix listed
eventlet = >= 0.10, < 0.31.0 No fix listed
ubuntu/python-eventlet(Ubuntu:20.04) < 0.25.1-2ubuntu1.1 0.25.1-2ubuntu1.1
ubuntu/python-eventlet(Ubuntu:20.04) = 0.25.0-0ubuntu1 No fix listed
ubuntu/python-eventlet(Ubuntu:20.04) = 0.25.1-2build1 No fix listed
ubuntu/python-eventlet(Ubuntu:20.04) = 0.25.1-2ubuntu1 No fix listed

References