CVE-2021-21419: Improper Handling of Highly Compressed Data (Data Amplification) and Memory Allocation with Excessive Size Value in eventlet
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.7% (FIRST EPSS); higher than 78.7% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: python-eventlet (Debian:12) 0.26.1-7; eventlet (PyPI) 0.31.0; cri-o (Red Hat:openshift:4.8::el7) 0:1.21.2-5.rhaos4.8.gitb27d974.el7.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to python-eventlet (Debian:12) 0.26.1-7; eventlet (PyPI) 0.31.0; cri-o (Red Hat:openshift:4.8::el7) 0:1.21.2-5.rhaos4.8.gitb27d974.el7 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- May 7, 2021
- Updated
- Jun 16, 2026
- EPSS
- 1.7% · 78th percentile
- CWE
- CWE-400
Report tools
Action score
22
Low priority for now.
- CVSS
- 21 / 40 · 5.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 1.7%
CNA vs NVD score
- NVD
- 5.3
- CNA · GitHub_M
- 5.3
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| eventlet | eventlet | cpe:2.3:a:eventlet:eventlet |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
eventlet eventlet
- >= 0.10, < 0.31.0affected
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- eventlet eventlet0.10 and later · before 0.31.0
- fedoraproject fedora33
- fedoraproject fedora34
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | python-eventlet | before 0.26.1-7 | 0.26.1-7 |
| PyPI | eventlet | from 0.10 · before 0.31.0 | 0.31.0 |
| PyPI | eventlet | from 0.10.0 · before 0.31.0 | 0.31.0 |
| Red Hat:openshift:4.8::el7 | cri-o | before 0:1.21.2-5.rhaos4.8.gitb27d974.el7 | 0:1.21.2-5.rhaos4.8.gitb27d974.el7 |
| Red Hat:openshift:4.8::el7 | cri-o-debuginfo | before 0:1.21.2-5.rhaos4.8.gitb27d974.el7 | 0:1.21.2-5.rhaos4.8.gitb27d974.el7 |
| Red Hat:openshift:4.8::el7 | cri-tools | before 0:1.21.0-2.el7 | 0:1.21.0-2.el7 |
| Red Hat:openshift:4.8::el7 | cri-tools-debuginfo | before 0:1.21.0-2.el7 | 0:1.21.0-2.el7 |
| Red Hat:openshift:4.8::el7 | haproxy | before 0:2.2.13-1.el7 | 0:2.2.13-1.el7 |
| Red Hat:openshift:4.8::el7 | haproxy-debuginfo | before 0:2.2.13-1.el7 | 0:2.2.13-1.el7 |
| Red Hat:openshift:4.8::el7 | openshift | before 0:4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el7 | 0:4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el7 |
| Red Hat:openshift:4.8::el7 | openshift-ansible | before 0:4.8.0-202106281541.p0.git.626f7a3.assembly.stream.el7 | 0:4.8.0-202106281541.p0.git.626f7a3.assembly.stream.el7 |
| Red Hat:openshift:4.8::el7 | openshift-ansible-test | before 0:4.8.0-202106281541.p0.git.626f7a3.assembly.stream.el7 | 0:4.8.0-202106281541.p0.git.626f7a3.assembly.stream.el7 |
| Red Hat:openshift:4.8::el7 | openshift-clients | before 0:4.8.0-202106281541.p0.git.1077b05.assembly.stream.el7 | 0:4.8.0-202106281541.p0.git.1077b05.assembly.stream.el7 |
| Red Hat:openshift:4.8::el7 | openshift-clients-redistributable | before 0:4.8.0-202106281541.p0.git.1077b05.assembly.stream.el7 | 0:4.8.0-202106281541.p0.git.1077b05.assembly.stream.el7 |
| Red Hat:openshift:4.8::el7 | openshift-hyperkube | before 0:4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el7 | 0:4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el7 |
| Red Hat:openshift:4.8::el7 | runc | before 0:1.0.0-98.rhaos4.8.gitcd80260.el7 | 0:1.0.0-98.rhaos4.8.gitcd80260.el7 |
| Red Hat:openshift:4.8::el7 | runc-debuginfo | before 0:1.0.0-98.rhaos4.8.gitcd80260.el7 | 0:1.0.0-98.rhaos4.8.gitcd80260.el7 |
| Red Hat:openshift:4.8::el8 | afterburn | before 0:5.0.0-1.rhaos4.8.el8 | 0:5.0.0-1.rhaos4.8.el8 |
| Red Hat:openshift:4.8::el8 | afterburn-debuginfo | before 0:5.0.0-1.rhaos4.8.el8 | 0:5.0.0-1.rhaos4.8.el8 |
| Red Hat:openshift:4.8::el8 | atomic-openshift-service-idler | before 0:4.8.0-202106281541.p0.git.39cfc66.assembly.stream.el8 | 0:4.8.0-202106281541.p0.git.39cfc66.assembly.stream.el8 |
| Red Hat:openshift:4.8::el8 | butane | before 0:0.12.1-1.rhaos4.8.el8 | 0:0.12.1-1.rhaos4.8.el8 |
| Red Hat:openshift:4.8::el8 | butane-debuginfo | before 0:0.12.1-1.rhaos4.8.el8 | 0:0.12.1-1.rhaos4.8.el8 |
| Red Hat:openshift:4.8::el8 | console-login-helper-messages | before 0:0.20.3-1.rhaos4.8.el8 | 0:0.20.3-1.rhaos4.8.el8 |
| Red Hat:openshift:4.8::el8 | console-login-helper-messages-issuegen | before 0:0.20.3-1.rhaos4.8.el8 | 0:0.20.3-1.rhaos4.8.el8 |
+96
Same product
eventlet: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-29483eventlet before 0.35.2, as used in dnspython before 2.6.0, allows remote attackers to interfere with DNS name resolution by quickly sending…29Monitor
- CVE-2025-58068Eventlet affected by HTTP request smuggling in unparsed trailers25Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:python-eventlet | 0.26.1-7 · Debian:12 | Package registry (OSV) |
| PyPI:eventlet | 0.31.0 | Package registry (OSV) |
| red hat:cri-o | 0:1.21.2-5.rhaos4.8.gitb27d974.el7 · Red Hat:openshift:4.8::el7 | Package registry (OSV) |
| red hat:cri-o-debuginfo | 0:1.21.2-5.rhaos4.8.gitb27d974.el7 · Red Hat:openshift:4.8::el7 | Package registry (OSV) |
| red hat:cri-tools | 0:1.21.0-2.el7 · Red Hat:openshift:4.8::el7 | Package registry (OSV) |
| red hat:ignition | 0:2.9.0-6.rhaos4.8.el8 · Red Hat:openshift:4.8::el8 | Package registry (OSV) |
| red hat:ignition-debuginfo | 0:2.9.0-6.rhaos4.8.el8 · Red Hat:openshift:4.8::el8 | Package registry (OSV) |
| red hat:ignition-debugsource | 0:2.9.0-6.rhaos4.8.el8 · Red Hat:openshift:4.8::el8 | Package registry (OSV) |
| red hat:ignition-validate | 0:2.9.0-6.rhaos4.8.el8 · Red Hat:openshift:4.8::el8 | Package registry (OSV) |
| red hat:ignition-validate-debuginfo | 0:2.9.0-6.rhaos4.8.el8 · Red Hat:openshift:4.8::el8 | Package registry (OSV) |
| red hat:openshift | 0:4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el7 · Red Hat:openshift:4.8::el7 | Package registry (OSV) |
| red hat:openshift-clients | 0:4.8.0-202106281541.p0.git.1077b05.assembly.stream.el7 · Red Hat:openshift:4.8::el7 | Package registry (OSV) |
| red hat:openshift-clients-redistributable | 0:4.8.0-202106281541.p0.git.1077b05.assembly.stream.el7 · Red Hat:openshift:4.8::el7 | Package registry (OSV) |
| red hat:openshift-hyperkube | 0:4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el7 · Red Hat:openshift:4.8::el7 | Package registry (OSV) |
| suse:ardana-cobbler | 8.0+git.1614096566.e8c2b27-3.44.3 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:cassandra | 3.11.10-5.3.5 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-installation | 8.20210512-1.32.5 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-operations | 8.20210512-1.32.5 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-opsconsole | 8.20210512-1.32.5 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-planning | 8.20210512-1.32.5 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-security | 8.20210512-1.32.5 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-user | 8.20210512-1.32.5 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:grafana | 6.7.4-4.18.2 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:kibana | 4.6.6-3.9.2 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:openstack-heat-templates | 0.0.0+git.1623056900.7917e18-3.21.3 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:openstack-monasca-installer | 20190923_16.32-3.18.2 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-21-0985 · Dec 10, 2021(RedHat Güvenlik Güncellemesi)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- low · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- Low
Weakness class (CWE)
CWE-400 · Uncontrolled Resource ConsumptionCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
nvd-primary
Root cause
Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.
The bug in code
The whole CWE-400 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
function expand(node) {
return node.children.map(expand);
}Fixed
const MAX_DEPTH = 32;
function expand(node, depth = 0) {
if (depth > MAX_DEPTH) throw new Error("too deep");
return node.children.map((c) => expand(c, depth + 1));
}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.