Severity
8.8HIGH
EPSS
8.6%
top 7.60%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedOct 27
Latest updateMay 14

Description

The retr.c:fd_read_body() function is called when processing OK responses. When the response is sent chunked in wget before 1.19.2, the chunk parser uses strtol() to read each chunk's length, but doesn't check that the chunk length is a non-negative number. The code then tries to read the chunk in pieces of 8192 bytes by using the MIN() macro, but ends up passing the negative chunk length to retr.c:fd_read(). As fd_read() takes an int argument, the high 32 bits of the chunk length are discarded,

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages4 packages

Debianwget< 1.19.2-1+3
Ubuntuwget< 1.15-1ubuntu1.14.04.3+1
NVDgnu/wget1.19.1
CVEListV5gnu_project/wgetprior to 1.19.2

Also affects: Debian Linux 8.0, 9.0

Patches

🔴Vulnerability Details

4
GHSA
GHSA-55r8-x68f-xh64: The retr2022-05-14
CVEList
GNU Wget: heap overflow in HTTP protocol handling2017-10-27
OSV
CVE-2017-13090: The retr2017-10-27
OSV
wget vulnerabilities2017-10-26

📋Vendor Advisories

4
Ubuntu
Wget vulnerabilities2017-10-30
Red Hat
wget: Heap-based buffer overflow in HTTP protocol handling2017-10-26
Ubuntu
Wget vulnerabilities2017-10-26
Debian
CVE-2017-13090: wget - The retr.c:fd_read_body() function is called when processing OK responses. When ...2017

💬Community

3
HackerOne
CVE-2017-13090 wget heap smash2019-11-12
Bugzilla
CVE-2017-13089 CVE-2017-13090 wget: various flaws [fedora-all]2017-10-26
Bugzilla
CVE-2017-13090 wget: Heap-based buffer overflow in HTTP protocol handling2017-10-23