VDB
Sign up
—

PYSEC-2021-12

Quick fix

PYSEC-2021-12 — eventlet: upgrade to the fixed version with the command below.

pip install --upgrade 'eventlet>=0.31.0'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/eventlet
Introduced in: 0.10.0Fixed in: 0.31.0
Fixpip install --upgrade 'eventlet>=0.31.0'

References