Bugzilla – Bug 1200126
VUL-0: CVE-2022-31015: python-waitress: uncaught Exception (due to a data race) leads to process termination
Last modified: 2022-09-19 09:55:04 UTC
rh#2092246 Waitress versions 2.1.0 and 2.1.1 may terminate early due to a thread closing a socket while the main thread is about to call select(). This will lead to the main thread raising an exception that is not handled and then causing the entire application to be killed. This issue has been fixed in Waitress 2.1.2 by no longer allowing the WSGI thread to close the socket. Instead, that is always delegated to the main thread. There is no work-around for this issue. However, users using waitress behind a reverse proxy server are less likely to have issues if the reverse proxy always reads the full response. https://github.com/Pylons/waitress/pull/377 https://github.com/Pylons/waitress/issues/374 https://github.com/Pylons/waitress/security/advisories/GHSA-f5x9-8jwc-25rw https://github.com/Pylons/waitress/commit/4f6789b035610e0552738cdc4b35ca809a592d48 References: https://bugzilla.redhat.com/show_bug.cgi?id=2092246 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-31015 https://github.com/Pylons/waitress/pull/377 https://github.com/Pylons/waitress/security/advisories/GHSA-f5x9-8jwc-25rw https://github.com/Pylons/waitress/commit/4f6789b035610e0552738cdc4b35ca809a592d48 https://github.com/Pylons/waitress/issues/374 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31015
Affected: - openSUSE:Factory/python-waitress 2.1.1 Not Affected: - SUSE:SLE-12-SP3:Update:Products:Cloud8:Update/python-waitress 1.4.3 - SUSE:SLE-12-SP4:Update:Products:Cloud9:Update/python-waitress 1.4.3 - SUSE:SLE-15:Update/python-waitress 1.4.3
This has been fixed in Factory even before this bugreport has been filed.
This is an autogenerated message for OBS integration: This bug (1200126) was mentioned in https://build.opensuse.org/request/show/1004640 Factory / python-waitress