CVE-2021-21419

medium

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.

References

https://github.com/eventlet/eventlet/security/advisories/GHSA-9p9m-jm8w-94p2

https://lists.fedoraproject.org/archives/list/[email protected]/message/R5JZP4LZOSP7CUAM3GIRW6PIAWKH5VGB/

https://lists.fedoraproject.org/archives/list/[email protected]/message/2WJFSBPLCNSZNHYQC4QDRDFRTEZRMD2L/

Details

Source: MITRE

Published: 2021-05-07

Updated: 2021-05-27

Type: CWE-400

Risk Information

CVSS v2

Base Score: 5

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P

Impact Score: 2.9

Exploitability Score: 10

Severity: MEDIUM

CVSS v3

Base Score: 5.3

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Impact Score: 1.4

Exploitability Score: 3.9

Severity: MEDIUM