CVE-2024-49769

Waitress is a Web Server Gateway Interface server for Python 2 and 3. When a remote client closes the connection before waitress has had the opportunity to call getpeername() waitress won't correctly clean up the connection leading to the main thread attempting to write to a socket that no longer exists, but not removing it from the list of sockets to attempt to process. This leads to a busy-loop calling the write function. A remote attacker could run waitress out of available sockets with very little resources required. Waitress 3.0.1 contains fixes that remove the race condition.
Configurations

Configuration 1 (hide)

cpe:2.3:a:agendaless:waitress:*:*:*:*:*:*:*:*

History

07 Nov 2024, 17:29

Type Values Removed Values Added
First Time Agendaless waitress
Agendaless
CPE cpe:2.3:a:agendaless:waitress:*:*:*:*:*:*:*:*
References () https://github.com/Pylons/waitress/commit/1ae4e894c9f76543bee06584001583fc6fa8c95c - () https://github.com/Pylons/waitress/commit/1ae4e894c9f76543bee06584001583fc6fa8c95c - Patch
References () https://github.com/Pylons/waitress/issues/418 - () https://github.com/Pylons/waitress/issues/418 - Issue Tracking
References () https://github.com/Pylons/waitress/pull/435 - () https://github.com/Pylons/waitress/pull/435 - Patch
References () https://github.com/Pylons/waitress/security/advisories/GHSA-3f84-rpwh-47g6 - () https://github.com/Pylons/waitress/security/advisories/GHSA-3f84-rpwh-47g6 - Vendor Advisory

01 Nov 2024, 12:57

Type Values Removed Values Added
Summary
  • (es) Waitress es un servidor de interfaz de puerta de enlace de servidor web para Python 2 y 3. Cuando un cliente remoto cierra la conexión antes de que waitress haya tenido la oportunidad de llamar a getpeername(), waitress no limpiará correctamente la conexión, lo que lleva al hilo principal a intentar escribir en un socket que ya no existe, pero no lo eliminará de la lista de sockets que se intentarán procesar. Esto conduce a un bucle de actividad que llama a la función de escritura. Un atacante remoto podría dejar a waitress sin sockets disponibles y requerir muy pocos recursos. Waitress 3.0.1 contiene correcciones que eliminan la condición de carrera.

29 Oct 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-10-29 15:15

Updated : 2024-11-07 17:29


NVD link : CVE-2024-49769

Mitre link : CVE-2024-49769

CVE.ORG link : CVE-2024-49769


JSON object : View

Products Affected

agendaless

  • waitress
CWE
CWE-772

Missing Release of Resource after Effective Lifetime