CVE-2021-21419
Eventlet vulnerability
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.
Affected products
Eventlet, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Eventlet runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/eventlet/eventlet/security/advisories/GHSA-9p9m-jm8w-94p2 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R
- nvd.nist.gov/vuln/detail/CVE-2021-21419
- github.com/eventlet/eventlet/commit/1412f5e4125b4313f815778a1acb4d3336efcd07
- github.com/pypa/advisory-database/tree/main/vulns/eventlet/PYSEC-2021-12.yaml
- lists.fedoraproject.org/archives/list/[email protected]/message/2WJ
- lists.fedoraproject.org/archives/list/[email protected]/message/R5J
- nvd.nist.gov/vuln/detail/CVE-2021-21419
- cve.org/CVERecord?id=CVE-2021-21419
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.