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

Published May 6, 2021
·
Updated

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: Open an issue in eventlet Contact current maintainers. At 2021-03: temotor@gmail.com or https://t.me/temotor

Other sources

A flaw was found in eventlet. If an unauthenticated user manages to send large websocket frames or highly compressed data frames that can lead to memory exhaustion. An attacker could use this flaw to cause a denial of service (DoS).

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.

Affected Software

7 affected componentsFixes available
redhat/python-eventlet<0:0.25.2-4.el8
0:0.25.2-4.el8
redhat/python-eventlet<0:0.25.2-5.el8
0:0.25.2-5.el8
redhat/eventlet<0.31.0
0.31.0
pip/eventlet>=0.10<0.31.0
0.31.0
Eventlet Eventlet>=0.10<0.31.0
Fedoraproject Fedora=33
Fedoraproject Fedora=34

Event History

May 6, 2021
CVE Published
12:00 AM
May 7, 2021
CVE Published
via MITRE·02:30 PM
Data Sourced
via MITRE·02:30 PM
DescriptionSeverityWeakness
Advisory Published
03:50 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-21419?

CVE-2021-21419 has a medium severity rating due to the potential for memory exhaustion from large websocket frames.

2

How do I fix CVE-2021-21419?

To fix CVE-2021-21419, upgrade to Eventlet version 0.31.0 or later.

3

What types of software are affected by CVE-2021-21419?

CVE-2021-21419 affects Eventlet versions prior to 0.31.0, primarily in applications using Python with Eventlet.

4

Can CVE-2021-21419 be exploited remotely?

Yes, CVE-2021-21419 can be exploited remotely by a malicious websocket peer sending oversized frames.

5

What is the impact of CVE-2021-21419 on systems?

The impact of CVE-2021-21419 is significant memory exhaustion on the Eventlet side, potentially leading to denial of service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203