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

Description

The http.c:skip_short_body() function is called in some circumstances, such as when processing redirects. 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 skip the chunk in pieces of 512 bytes by using the MIN() macro, but ends up passing the negative chunk length to connect.c:fd_read(). As fd_read() takes an int argument, the high 32 bits o

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-3737-prh2-4m4p: The http2022-05-14
OSV
CVE-2017-13089: The http2017-10-27
CVEList
GNU Wget: stack overflow in HTTP protocol handling2017-10-27
OSV
wget vulnerabilities2017-10-26

📋Vendor Advisories

4
Ubuntu
Wget vulnerabilities2017-10-30
Ubuntu
Wget vulnerabilities2017-10-26
Red Hat
wget: Stack-based buffer overflow in HTTP protocol handling2017-10-26
Debian
CVE-2017-13089: wget - The http.c:skip_short_body() function is called in some circumstances, such as w...2017

💬Community

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