Heap-based buffer overflow in wget - CVE-2017-13090

 

Heap-based buffer overflow in wget - CVE-2017-13090

Published: October 27, 2017 / Updated: October 31, 2017


Vulnerability identifier: #VU8960
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-13090
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to heap-based buffer overflow in the fd_read_body() function in 'src/retr.c'' when processing HTTP chunk size values. A remote attacker can send specially crafted HTTP data, trigger memory corruption and execute arbitrary code with privileges of the current user.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

wget
Debian Linux
Arch Linux
Amazon Linux AMI
Gentoo Linux
Red Hat Enterprise Linux for x86_64
SUSE Linux
Slackware Linux
Ubuntu
Fedora
wget (Alpine package)
wget

How to mitigate CVE-2017-13090

Update to version 1.19.2.

wget (Alpine package) - addressed in versions 1.18-r2, 1.18-r3
wget - addressed in versions 1.19.2-1.fc25, 1.19.2-1.fc26, 1.19.2-1.fc27

External References

Related Security Bulletins