Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2024-49768

Опубликовано: 29 окт. 2024
Источник: redhat
CVSS3: 4.8
EPSS Низкий

Описание

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.

A flaw was found in the Waitress WSGI server for Python. A remote client can send a request that is exactly recv_bytes, which defaults to 8192 long, followed by a secondary request using HTTP pipelining. When request lookahead is disabled (default), Waitress won't read any more requests, and when the first request fails due to a parsing error, it simply closes 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.

Меры по смягчению последствий

Disable channel_request_lookahead. This feature is disabled (set to 0) by default.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Ceph Storage 4python-waitressAffected
Red Hat Ceph Storage 5python-waitressAffected
Red Hat Openshift Container Storage 4python-waitressAffected
Ironic content for Red Hat OpenShift Container Platform 4.12python-waitressFixedRHSA-2024:1053505.12.2024
Ironic content for Red Hat OpenShift Container Platform 4.13python-waitressFixedRHSA-2024:1081512.12.2024
Red Hat OpenShift Container Platform 4.14python-waitressFixedRHSA-2024:962320.11.2024
Red Hat OpenShift Container Platform 4.15python-waitressFixedRHSA-2024:1014526.11.2024
Red Hat OpenShift Container Platform 4.16python-waitressFixedRHSA-2024:961820.11.2024
Red Hat OpenShift Container Platform 4.17python-waitressFixedRHSA-2024:961319.11.2024
Red Hat OpenStack Platform 16.2python-waitressFixedRHSA-2025:020109.01.2025

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-367
Дефект:
CWE-444
https://bugzilla.redhat.com/show_bug.cgi?id=2322460waitress: python-waitress: request processing race condition in HTTP pipelining with invalid first request

EPSS

Процентиль: 61%
0.00422
Низкий

4.8 Medium

CVSS3

Связанные уязвимости

CVSS3: 9.1
ubuntu
около 1 года назад

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.

CVSS3: 9.1
nvd
около 1 года назад

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.

CVSS3: 9.1
debian
около 1 года назад

Waitress is a Web Server Gateway Interface server for Python 2 and 3. ...

CVSS3: 9.1
github
около 1 года назад

Waitress has request processing race condition in HTTP pipelining with invalid first request

CVSS3: 9.1
fstec
около 1 года назад

Уязвимость функции channel_request_lookahead() WSGI сервера для python Waitress, позволяющая нарушителю отправить скрытый HTTP-запрос (атака типа HTTP Request Smuggling

EPSS

Процентиль: 61%
0.00422
Низкий

4.8 Medium

CVSS3