PT-2017-3164 · Gnu+5 · Wget+5

Publicado

2017-10-26

·

Atualizado

2024-06-15

·

CVE-2017-13090

CVSS v2.0

9.3

Alta

VetorAV:N/AC:M/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Wget versions prior to 1.19.2
Description The issue is related to insufficient input validation in the fd read body() function, which can lead to a buffer overflow. This occurs when processing OK responses sent chunked, where the chunk parser uses strtol() to read each chunk's length without checking if it's a non-negative number. The code then attempts to read the chunk in pieces, passing the negative chunk length to fd read(), allowing an attacker to corrupt malloc metadata after the allocated buffer. This can potentially enable a remote attacker to execute arbitrary code.
Recommendations For versions prior to 1.19.2, update to version 1.19.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of chunked responses until a patch is available. Avoid using the fd read body() function in retr.c with untrusted input until the issue is resolved.

Correção

Buffer Overflow

Heap Based Buffer Overflow

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

Enumeração de Fraquezas

Identificadores relacionados

ALT-PU-2017-2521
BDU:2017-02576
CESA-2017_3075
CVE-2017-13090
DLA-1149-1
DSA-4008-1
MGASA-2017-0396
OPENSUSE-SU-2017_2884-1
OPENSUSE-SU-2024:11510-1
RHSA-2017:3075
RHSA-2017_3075
SUSE-SU-2017:2871-1
SUSE-SU-2017:2871-2
USN-3464-1
USN-3464-2

Produtos afetados

Alt Linux
Centos
Red Hat
Suse
Ubuntu
Wget