Lucene search

K
osvGoogleOSV:PYSEC-2021-12
HistoryMay 07, 2021 - 3:15 p.m.

PYSEC-2021-12

2021-05-0715:15:00
Google
osv.dev
22
eventlet
python
networking
websocket
memory exhaustion
patch
version 0.31.0
os limits
machine exhaustion

EPSS

0.001

Percentile

47.2%

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.