CVE-2021-21419: Improper Handling of Highly Compressed Data (Data Amplification) and Memory Allocation with Excessive Size Value in eventlet
Vulnerability summary
CVE-2021-21419 is a medium (CVSS 5.3) Uncontrolled Resource Consumption vulnerability in eventlet. EPSS estimates a 1.79% chance of exploitation in the next 30 days, higher than 78.4% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 2Timeline
- 07-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 6 sources · 3 versions- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · Red hatEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
1.79%
Chance of exploitation in the next 30 days
Percentile
78%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.79% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Mageia2 products
- python-eventlet< 0.24.1-1.1.mga7
- python-eventlet< 0.31.0-1.mga8
Redhat2 products
- python-eventlet< 0:0.25.2-5.el8ost.1
- python3-eventlet< 0:0.25.2-5.el8ost.1
Debian1 product
- python-eventlet< 0.26.1-7
Eventlet1 product
- eventlet≥ 0.10, < 0.31.0
Fedoraproject1 product
- fedoraEOL33 | 34
PyPI1 product
- eventlet≥ 0.10, < 0.31.0 | ≥ 0.10.0, < 0.31.0
Ubuntu1 product
- python-eventlet< 0.25.1-2ubuntu1.1
7 vendors · 9 products
References
21 links- github.com/eventlet/eventlet/security/advisories/GHSA-9p9m-jm8w-94p2X Refsource CONFIRMWEBAdvisoryThird Party Advisory
- github.com/eventlet/eventletPACKAGE