CVE-2021-21419Eventlet
Medium 5.3 No auth needed
Follow: this CVE · Eventlet · Eventlet We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- No
- Published
- May 7, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for Eventlet.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | eventlet |
≥ 0.10 < 0.31.0 |
0.31.0 |
pip install "eventlet>=0.31.0" |
| PyPI | eventlet |
≥ 0.10.0 < 0.31.0 |
0.31.0 |
pip install "eventlet>=0.31.0" |
Per OSV / GitHub Advisories (GHSA-9p9m-jm8w-94p2, PYSEC-2021-12). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| eventlet | eventlet | ≥ 0.10 < 0.31.0 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org