CVE-2024-49768
Waitress has request processing race condition in HTTP pipelining with invalid first request
描述
Waitress is a Web Server Gateway Interface server for Python 2 and 3. A remote client may send a request that is exactly recv_bytes (defaults to 8192) long, followed by a secondary request using HTTP pipelining. When request lookahead is disabled (default) we won't read any more requests, and when the first request fails due to a parsing error, we simply close the connection. However when request lookahead is enabled, it is possible to process and receive the first request, start sending the error message back to the client while we read the next request and queue it. This will allow the secondary request to be serviced by the worker thread while the connection should be closed. Waitress 3.0.1 fixes the race condition. As a workaround, disable channel_request_lookahead, this is set to 0 by default disabling this feature.
如何修補 CVE-2024-49768
要修補 CVE-2024-49768,請將受影響套件升級到下列已修補版本。
- —升級至 2.1.2-2+deb12u1 或更新版本
- —升級至 3.0.1 或更新版本
- —升級至 e4359018537af376cf24bd13616d861e2fb76f65 或更新版本
CVE-2024-49768 正在被利用嗎?
低 — EPSS 為 0.5%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0, < 2.1.2-2+deb12u1
- >= 2.0.0, < 3.0.1
- from 0, < e4359018537af376cf24bd13616d861e2fb76f65 | >= 2.0.0, < 3.0.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |