CWE
248 362
Advisory Published
Advisory Published
Updated

CVE-2022-31015: Uncaught Exception (due to a data race) leads to process termination in Waitress

First published: Tue May 31 2022(Updated: )

### Impact Waitress 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. ### Patches This issue has been fixed in Waitress 2.1.2 by no longer allowing the WSGI thread to close the socket, instead it is always delegated to the main thread. ### Workarounds There is no work-around, however users using waitress behind a reverse proxy server are less likely to have issues if the reverse proxy always reads the full response. ### For more information If you have any questions or comments about this advisory: * Open an issue in https://github.com/Pylons/waitress/issues (if not sensitive or security related) * email the Pylons Security mailing list: [pylons-project-security@googlegroups.com](mailto:pylons-project-security@googlegroups.com) (if security related)

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Agendaless Waitress>=2.1.0<2.1.2
pip/waitress>=2.1.0<2.1.2
2.1.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-31015?

    CVE-2022-31015 is a vulnerability in Waitress, a Web Server Gateway Interface server for Python 2 and 3.

  • What is the severity of CVE-2022-31015?

    CVE-2022-31015 has a severity rating of medium (5.9).

  • How does CVE-2022-31015 affect Waitress?

    CVE-2022-31015 affects Waitress versions 2.1.0 to 2.1.2.

  • What is the impact of CVE-2022-31015?

    CVE-2022-31015 can lead to the main thread raising an unhandled exception and causing the server to terminate early.

  • How can I fix CVE-2022-31015?

    To fix CVE-2022-31015, it is recommended to update to Waitress version 2.1.3 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203