CVE-2017-13089
highpriority · attend · 73EPSS 0.799 · 100 %ileexploit · PoCEURUUSEPSS · scored 2026-10-27
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 of the chunk length are discarded, leaving fd_read() with a completely attacker controlled length argument.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- r1b/CVE-2017-13089PoC for wget v1.19.1PoC · poc_in_github
affected products (7)
Products and version ranges known to be affected.
also known as (8)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (22)
External citations — patches, advisories, analysis.
- http://git.savannah.gnu.org/cgit/wget.git/commit/?id=d892291fb8ace4c3b734ea5125770989c215df3fcnnvd
- http://www.securityfocus.com/bid/101592cnnvd
- http://www.securitytracker.com/id/1039661cnnvd
- https://www.viestintavirasto.fi/en/cybersecurity/vulnerabilities/2017/haavoittuvuus-2017-037.htmlcnnvd
- http://git.savannah.gnu.org/cgit/wget.git/commit/?id=d892291fb8ace4c3b734ea5125770989c215df3fenisa_euvd
- http://www.debian.org/security/2017/dsa-4008enisa_euvd
- http://www.securityfocus.com/bid/101592enisa_euvd
- http://www.securitytracker.com/id/1039661enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan