CVE-2021-21419

Published: 07 May 2021

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.

Priority

Medium

CVSS 3 base score: 5.3

Status

Package Release Status
python-eventlet
Launchpad, Ubuntu, Debian
Upstream
Released (0.31.0)
Ubuntu 21.10 (Impish Indri)
Released (0.30.0-0ubuntu2)
Ubuntu 21.04 (Hirsute Hippo)
Released (0.30.0-0ubuntu1.1)
Ubuntu 20.04 LTS (Focal Fossa)
Released (0.25.1-2ubuntu1.1)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(code not present)
Ubuntu 16.04 ESM (Xenial Xerus) Not vulnerable
(code not present)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Patches:
Upstream: https://github.com/eventlet/eventlet/commit/1412f5e4125b4313f815778a1acb4d3336efcd07

Notes

AuthorNote
leosilva
support for permessage-defalte extension or compression extension
was added by b7d2a251ad55e1c161aa6c8aa236db456c4c4a21 and it's not
present in versions of Bionic and xenial/esm-infra.

References

Bugs