PT-2012-2901 · Python+3 · Python+3

Dan Callaghan

·

Publicado

2012-06-18

·

Atualizado

2025-11-07

·

CVE-2012-0845

CVSS v2.0

5.0

Média

VetorAV:N/AC:L/Au:N/C:N/I:N/A:P
Name of the Vulnerable Software and Affected Versions Python versions prior to 2.6.8 Python versions 2.7.x prior to 2.7.3 Python versions 3.x prior to 3.1.5 Python versions 3.2.x prior to 3.2.3
Description The issue allows remote attackers to cause a denial of service, resulting in infinite loops and high CPU consumption. This can be achieved via an XML-RPC POST request that contains a smaller amount of data than specified by the Content-Length header. The vulnerability is caused by the SimpleXMLRPCRequestHandler.do POST() method not properly handling an EOF when processing POST requests, which can be exploited via a specially crafted HTTP POST request.
Recommendations For Python versions prior to 2.6.8, update to version 2.6.8 or later. For Python versions 2.7.x prior to 2.7.3, update to version 2.7.3 or later. For Python versions 3.x prior to 3.1.5, update to version 3.1.5 or later. For Python versions 3.2.x prior to 3.2.3, update to version 3.2.3 or later.

Exploit

Correção

DoS

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CESA-2012_0744
CVE-2012-0845
DLA-25-1
OPENSUSE-SU-2020:0086-1
OPENSUSE-SU-2020_0086-1
OPENSUSE-SU-2024:10426-1
OPENSUSE-SU-2024:10536-1
OPENSUSE-SU-2024:11202-1
OPENSUSE-SU-2024:11283-1
OPENSUSE-SU-2024:11284-1
OPENSUSE-SU-2024:11285-1
OPENSUSE-SU-2024:11286-1
OPENSUSE-SU-2024:12089-1
OPENSUSE-SU-2024:12910-1
OPENSUSE-SU-2024:14109-1
OPENSUSE-SU-2024:14434-1
OPENSUSE-SU-2025:15713-1
PSF-2012-3
RHSA-2012:0744
RHSA-2012_0744
SUSE-FU-2022:0444-1
SUSE-FU-2022:0445-1
SUSE-SU-2020:0114-1
SUSE-SU-2020:0234-1

Produtos afetados

Centos
Python
Red Hat
Suse