跳转到帖子

Red Hat OpenShift: CVE-2024-49768: waitress: python-waitress: request processing race condition in HTTP pipelining with invalid first request

recommended_posts

发布于
  • Members

Red Hat OpenShift: CVE-2024-49768: waitress: python-waitress: request processing race condition in HTTP pipelining with invalid first request

Severity
6
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:N)
Published
10/29/2024
Created
11/26/2024
Added
11/25/2024
Modified
02/11/2025

Description

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.

Solution(s)

  • linuxrpm-upgrade-python-waitress

References

  • https://attackerkb.com/topics/cve-2024-49768
  • CVE - 2024-49768
  • RHSA-2024:10145
  • RHSA-2024:10535
  • RHSA-2024:10815
  • RHSA-2024:9613
  • RHSA-2024:9618
  • RHSA-2024:9623
  • RHSA-2025:0201
  • RHSA-2025:1191
  • RHSA-2025:1192
View more
  • 查看数 694
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。

游客
回帖…