All reports
Medium

Improper Handling of Highly Compressed Data (Data Amplification) and Memory Allocation with Excessive Size Value in eventlet

Affected versions

Version ranges need review.

Affected versions
>= 0.10, < 0.31.0
Fixed version
0.31.0
Affected versions
>=0.10.0 <0.31.0
Fixed version
0.31.0
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-21419

Probability of exploitation in the next 30 days: 1.79%

FIRST EPSS · 2026-11-22

Description

Impact

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.

Patches

Version 0.31.0 restricts websocket frame to reasonable limits.

Workarounds

Restricting memory usage via OS limits would help against overall machine exhaustion. No workaround to protect Eventlet process.

For more information

If you have any questions or comments about this advisory:

Links