CVE-2021-21419
Improper Handling of Highly Compressed Data (Data Amplification) and Memory Allocation with Excessive Size Value in eventlet
- State
- Published
- Severity
- 5.3 Medium
- Published
- May 7, 2021
- Updated
- Aug 3, 2024
- Reserved
- Dec 22, 2020
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | GitHub_M |
Weaknesses
- CWE-400 {"CWE-400":"Uncontrolled Resource Consumption"}
Affected Products
| Product | Versions |
|---|---|
eventleteventlet |
|
References
- https://github.com/eventlet/eventlet/security/advisories/GHSA-9p9m-jm8w-94p2
- FEDORA-2021-9fde3d7ab1vendor-advisory
- FEDORA-2021-d5915c247bvendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.