CVE-2021-21419Uncontrolled Resource Consumption in Eventlet

Severity
7.5HIGHNVD
NVD5.3OSV5.3
EPSS
0.1%
top 73.47%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 7
Latest updateNov 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitability: 3.9 | Impact: 1.4

Affected Packages5 packages

debiandebian/python-eventlet< python-eventlet 0.26.1-7 (bookworm)+1
NVDeventlet/eventlet0.100.31.0
PyPIeventlet/eventlet0.100.31.0

Also affects: Fedora 33, 34, Openshift Container Platform 4.12

🔴Vulnerability Details

4
GHSA
GHSA-326p-894x-j8c7: A regression was introduced in the Red Hat build of python-eventlet due to a change in the patch application strategy, resulting in a patch for CVE-202023-11-01
GHSA
Improper Handling of Highly Compressed Data (Data Amplification) and Memory Allocation with Excessive Size Value in eventlet2021-05-07
OSV
CVE-2021-21419: Eventlet is a concurrent networking library for Python2021-05-07
OSV
Improper Handling of Highly Compressed Data (Data Amplification) and Memory Allocation with Excessive Size Value in eventlet2021-05-07

📋Vendor Advisories

5
Red Hat
python-eventlet: patch regression for CVE-2021-21419 in some Red Hat builds2023-10-17
Debian
CVE-2023-5625: python-eventlet - A regression was introduced in the Red Hat build of python-eventlet due to a cha...2023
Ubuntu
Eventlet vulnerability2021-05-17
Red Hat
python-eventlet: improper handling of highly compressed data and memory allocation with excessive size allows DoS2021-05-06
Debian
CVE-2021-21419: python-eventlet - Eventlet is a concurrent networking library for Python. A websocket peer may exh...2021
CVE-2021-21419 — Uncontrolled Resource Consumption | cvebase