CVE-2021-21419
published medium CVSS 3.1 · 5.3Improper Handling of Highly Compressed Data (Data Amplification) and Memory Allocation with Excessive Size Value in eventlet
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| eventlet | — | eventlet>= 0.10, < 0.31.0 | Affected | Not stated | GitHub_M |
| Ubuntu | focal | python-eventlet | Advisory build | 0.25.1-2ubuntu1.1 | USN-4956-1 |
| Ubuntu | focal | python3-eventlet | Advisory build | 0.25.1-2ubuntu1.1 | USN-4956-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| eventlet | eventlet | >= 0.10, < 0.31.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-400 {"CWE-400":"Uncontrolled Resource Consumption"}
References
3- https://github.com/eventlet/eventlet/security/advisories/GHSA-9p9m-jm8w-94p2
- FEDORA-2021-d5915c247b https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2WJFSBPLCNSZNHYQC4QDRDFRTEZRMD2L/
- FEDORA-2021-9fde3d7ab1 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R5JZP4LZOSP7CUAM3GIRW6PIAWKH5VGB/
Provider assertions
2GitHub_M · cna
Improper Handling of Highly Compressed Data (Data Amplification) and Memory Allocation with Excessive Size Value in eventlet
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 26699d382a607a39e7f31bd8f5d61f47da19d4431653211d66adc41eff1538bb
- Ingested
- 23 Sep 2026, 07:52:31 UTC
- Source record
- Official CVE record