PT-2017-4228

CVE-2017-9048

·

Publicado

2017-05-15

·

Atualizado

2026-10-14

Descrição por

CVSS 2.0
7.8
Alta
MétricasAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions libxml2 version 20904-GITv2.9.4-16-g0741801
Description The issue is related to a stack-based buffer overflow in the xmlSnprintfElementContent function in valid.c. This function is supposed to recursively dump the element content definition into a char buffer buf of size size. However, at the end of the routine, it may concatenate two more characters without checking whether the current strlen(buf) + 2 < size. This can cause programs that use libxml2, such as PHP, to crash. The vulnerability is associated with a buffer overflow in memory, which can be exploited by a remote attacker to cause a denial of service.
Recommendations For libxml2 version 20904-GITv2.9.4-16-g0741801, as a temporary workaround, consider disabling the xmlSnprintfElementContent function until a patch is available. Restrict access to the valid.c module to minimize the risk of exploitation. Avoid using the xmlSnprintfElementContent function in affected API endpoints until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Explorabilidade
Exploit
Impactos
Fornecedores
Produtos afetados
Identificadores relacionados
ALT-PU-2019-1924
ALT-PU-2019-3079
DLA-1008-1
DSA-3952-1
ECHO-254A-44AB-2D9B
MGASA-2018-0048
OPENSUSE-SU-2024:11016-1
SUSE-SU-2017:1454-1
SUSE-SU-2017:1538-1
SUSE-SU-2017:1557-1
SUSE-SU-2017:1587-1
SUSE-SU-2017:2699-1
SUSE-SU-2017:2700-1
USN-3424-1
USN-3424-2
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾