pysec-2022-205
Vulnerability from pysec
Published
2022-05-31 23:15
Modified
2022-06-14 20:37
Details
Waitress is a Web Server Gateway Interface server for Python 2 and 3. 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.
Aliases
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "waitress", "purl": "pkg:pypi/waitress" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "4f6789b035610e0552738cdc4b35ca809a592d48" } ], "repo": "https://github.com/Pylons/waitress", "type": "GIT" }, { "events": [ { "introduced": "2.1.0" }, { "fixed": "2.1.2" } ], "type": "ECOSYSTEM" } ], "versions": [ "2.1.0", "2.1.1" ] } ], "aliases": [ "CVE-2022-31015", "GHSA-f5x9-8jwc-25rw" ], "details": "Waitress is a Web Server Gateway Interface server for Python 2 and 3. 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.", "id": "PYSEC-2022-205", "modified": "2022-06-14T20:37:51.457649Z", "published": "2022-05-31T23:15:00Z", "references": [ { "type": "WEB", "url": "https://github.com/Pylons/waitress/pull/377" }, { "type": "REPORT", "url": "https://github.com/Pylons/waitress/issues/374" }, { "type": "ADVISORY", "url": "https://github.com/Pylons/waitress/security/advisories/GHSA-f5x9-8jwc-25rw" }, { "type": "FIX", "url": "https://github.com/Pylons/waitress/commit/4f6789b035610e0552738cdc4b35ca809a592d48" } ] }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.