GitHub Advisoryadvisory · PyPI

GHSA-9p9m-jm8w-94p2 Improper Handling of Highly Compressed Data (Data Amplification) and Memory Allocation with Excessive Size Value in eventlet

MEDIUM Published 2021-05-07 Modified 2024-09-20 Official page ↗
Aliases
CVE-2021-21419
Ecosystem
PyPI
Packages
eventlet
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-400
Reviewed
2021-05-07

Affected packages

• PyPI eventlet: >= 0.10, < 0.31.0 → fixed in 0.31.0

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: • Open an issue in eventlet • Contact current maintainers. At 2021-03: [email protected] or https://t.me/temotor

Related

Alias · CVE (1)

  • CVE-2021-21419 Eventlet is a concurrent networking library for Python. vulnerability

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References