CVE-2021-21419
MEDIUM 5.3CVSS 3.1Improper Handling of Highly Compressed Data (Data Amplification) and Memory Allocation with Excessive Size Value in eventlet
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.
- Published
- 7 May 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-9p9m-jm8w-94p2PYSEC-2021-12
- Sources
- NVDJSONOSV GHSA-9p9m-jm8w-94p2JSONOSV PYSEC-2021-12JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | eventlet | eventletcpe:2.3:a:eventlet:eventlet:*:*:*:*:*:*:*:* |
>= 0.10, < 0.31.0 | 0.31.0 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
= 33 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
= 34 | |
| OSV | PyPI | eventlet | >= 0.10, < 0.31.0 | 0.31.0 |
| OSV | PyPI | eventlet | >= 0.10.0, < 0.31.0 | 0.31.0 |
References
- https://github.com/eventlet/eventlet/security/advisories/GHSA-9p9m-jm8w-94p2 · Third Party Advisory, WEB, ADVISORY
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2WJFSBPLCNSZNHYQC4QDRDFRTEZRMD2L/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R5JZP4LZOSP7CUAM3GIRW6PIAWKH5VGB/
- https://nvd.nist.gov/vuln/detail/CVE-2021-21419 · ADVISORY
- https://github.com/eventlet/eventlet/commit/1412f5e4125b4313f815778a1acb4d3336efcd07 · WEB
- https://github.com/eventlet/eventlet · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/eventlet/PYSEC-2021-12.yaml · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2WJFSBPLCNSZNHYQC4QDRDFRTEZRMD2L · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R5JZP4LZOSP7CUAM3GIRW6PIAWKH5VGB · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 7 May 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 May 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 May 2021)