CVE-2017-13089
HighThe http.c:skip_short_body() function is called in some circumstances, such as when processing redirects.
Published Oct 27, 2017 · Updated Oct 7, 2026 · Also known as ALPINE-CVE-2017-13089, DEBIAN-CVE-2017-13089, DLA-1149-1, DSA-4008-1, SUSE-SU-2017:2871-1, SUSE-SU-2017:2871-2, UBUNTU-CVE-2017-13089
Key Facts
Patch immediately- CVE-2017-13089 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Wget (Gnu), Debian Linux, rootio-wget and 2 more products.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 80% probability of exploitation in the next 30 days.
- Fixed versions are available, including Wget 1.19.1, Wget 0:1.14-15.el7_4.1, Wget 1.12-10.el6+sp999.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
8.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
80%
Higher than 99.6% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2017-13089 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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 of the chunk length are discarded, leaving fd_read() with a completely attacker controlled length argument.
Affected Products
58 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| WgetGnu | >= prior to 1.19.2 | 1.19.1 |
| Debian LinuxDebian | 8.0, 9.0 | n/a |
| rootio-wgetrootio | See advisory | 1.19.2-1 |
| seal-wgetseal | See advisory | 1.12-10.el6+sp999 |
| wget-langsuse | See advisory | 1.21.1-2.2 |
Patched Releases
Wget
1.19.1, 0:1.14-15.el7_4.1, 1.12-10.el6+sp999, 1.13.4-3+deb7u5, 1.14-12.1, 1.14-15.el7_4.1, 1.14-21.3.1, 1.15-1ubuntu1.14.04.3, 1.16-1+deb8u4, 1.17.1-1ubuntu1.3, 1.18-3.28.amzn1, 1.18-3.ph1, 1.18-5+deb9u1, 1.18-r2, 1.18-r3, 1.19.1-3.ph2, 1.19.2-1, 1.19.5-1.ph3, 1.21.1-2.2
rootio-wget
1.19.2-1
seal-wget
1.12-10.el6+sp999
wget-lang
1.21.1-2.2
Timeline
Publicly disclosed
Oct 27, 2017
Last updated
Oct 7, 2026
Weakness Type
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-121 Stack-based Buffer Overflow
References
- advisoryRHSA-2017:3075
- advisoryhttps://bugzilla.suse.com/1064715
- advisoryhttps://bugzilla.suse.com/1064716
- advisoryhttps://github.com/r1b/CVE-2017-13089
- advisoryhttps://security.alpinelinux.org/vuln/CVE-2017-13089
FAQ
Common Questions.
The http.c:skip_short_body() function is called in some circumstances, such as when processing redirects.
Affected: Wget (Gnu) versions >= prior to 1.19.2; Debian Linux versions 8.0, 9.0; rootio-wget, among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Wget 1.19.1, Wget 0:1.14-15.el7_4.1, Wget 1.12-10.el6+sp999.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2017-13089 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo