CVE-2017-13089
published high CVSS 3.0 · 8.8GNU Wget: stack overflow in HTTP protocol handling
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GNU Project | — | Wgetprior to 1.19.2 · Platforms: any | Affected | Not stated | certcc |
| Alpine Linux | v3.4 | wget | Fixed | 1.18-r2 | Package fix record |
| Debian | jessie | wget | Advisory build | 1.16-1+deb8u4 | DSA-4008-1 |
| Oracle Linux | 7 | wgetaarch64 | Advisory build | 0:1.14-15.el7_4.1 | ELSA-2017-3075 |
| Red Hat Enterprise Linux | RHEL-7 | wgetppc64 | Advisory build | 1.14-15.el7_4.1 | RHSA-2017:3075 |
| SUSE / openSUSE | SLE-12 | wgetppc64le | Advisory build | 1.14-21.3.1 | SUSE-SU-2017:2871-2 |
| Ubuntu | trusty | wget | Advisory build | 1.15-1ubuntu1.14.04.3 | USN-3464-1 |
| Alpine Linux | v3.5 | wget | Fixed | 1.18-r3 | Package fix record |
Show 34 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | stretch | wget | Advisory build | 1.18-5+deb9u1 | DSA-4008-1 |
| Debian | wheezy | wget | Advisory build | 1.13.4-3+deb7u5 | DLA-1149-1 |
| Oracle Linux | 7 | wgetx86_64 | Advisory build | 0:1.14-15.el7_4.1 | ELSA-2017-3075 |
| Red Hat Enterprise Linux | RHEL-7 | wgetppc64le | Advisory build | 1.14-15.el7_4.1 | RHSA-2017:3075 |
| Red Hat Enterprise Linux | RHEL-7 | wgets390x | Advisory build | 1.14-15.el7_4.1 | RHSA-2017:3075 |
| Red Hat Enterprise Linux | RHEL-7 | wgetsrc | Advisory build | 1.14-15.el7_4.1 | RHSA-2017:3075 |
| Red Hat Enterprise Linux | RHEL-7 | wgetx86_64 | Advisory build | 1.14-15.el7_4.1 | RHSA-2017:3075 |
| Red Hat Enterprise Linux | RHEL-7 | wget-debuginfoppc64 | Advisory build | 1.14-15.el7_4.1 | RHSA-2017:3075 |
| Red Hat Enterprise Linux | RHEL-7 | wget-debuginfoppc64le | Advisory build | 1.14-15.el7_4.1 | RHSA-2017:3075 |
| Red Hat Enterprise Linux | RHEL-7 | wget-debuginfos390x | Advisory build | 1.14-15.el7_4.1 | RHSA-2017:3075 |
| Red Hat Enterprise Linux | RHEL-7 | wget-debuginfox86_64 | Advisory build | 1.14-15.el7_4.1 | RHSA-2017:3075 |
| SUSE / openSUSE | SLE-12 | wgets390x | Advisory build | 1.14-21.3.1 | SUSE-SU-2017:2871-2 |
| SUSE / openSUSE | SLE-12 | wgetx86_64 | Advisory build | 1.14-21.3.1 | SUSE-SU-2017:2871-2 |
| SUSE / openSUSE | SLE-12-SP1 | wgetppc64le | Advisory build | 1.14-21.3.1 | SUSE-SU-2017:2871-2 |
| SUSE / openSUSE | SLE-12-SP1 | wgets390x | Advisory build | 1.14-21.3.1 | SUSE-SU-2017:2871-2 |
| SUSE / openSUSE | SLE-12-SP1 | wgetx86_64 | Advisory build | 1.14-21.3.1 | SUSE-SU-2017:2871-2 |
| SUSE / openSUSE | SLE-12-SP2 | wgetaarch64 | Advisory build | 1.14-21.3.1 | SUSE-SU-2017:2871-1 |
| SUSE / openSUSE | SLE-12-SP2 | wgetaarch64 | Advisory build | 1.14-21.3.1 | SUSE-SU-2017:2871-2 |
| SUSE / openSUSE | SLE-12-SP2 | wgetppc64le | Advisory build | 1.14-21.3.1 | SUSE-SU-2017:2871-2 |
| SUSE / openSUSE | SLE-12-SP2 | wgets390x | Advisory build | 1.14-21.3.1 | SUSE-SU-2017:2871-2 |
| SUSE / openSUSE | SLE-12-SP2 | wgetx86_64 | Advisory build | 1.14-21.3.1 | SUSE-SU-2017:2871-2 |
| SUSE / openSUSE | SLE-12-SP3 | wgetaarch64 | Advisory build | 1.14-21.3.1 | SUSE-SU-2017:2871-2 |
| SUSE / openSUSE | SLE-12-SP3 | wgetppc64le | Advisory build | 1.14-21.3.1 | SUSE-SU-2017:2871-2 |
| SUSE / openSUSE | SLE-12-SP3 | wgets390x | Advisory build | 1.14-21.3.1 | SUSE-SU-2017:2871-2 |
| SUSE / openSUSE | SLE-12-SP3 | wgetx86_64 | Advisory build | 1.14-21.3.1 | SUSE-SU-2017:2871-2 |
| SUSE / openSUSE | openSUSE-Tumbleweed | wgetaarch64 | Advisory build | 1.21.1-2.2 | OPENSUSE-SU-2024:11510-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | wgetppc64le | Advisory build | 1.21.1-2.2 | OPENSUSE-SU-2024:11510-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | wgets390x | Advisory build | 1.21.1-2.2 | OPENSUSE-SU-2024:11510-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | wgetx86_64 | Advisory build | 1.21.1-2.2 | OPENSUSE-SU-2024:11510-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | wget-langaarch64 | Advisory build | 1.21.1-2.2 | OPENSUSE-SU-2024:11510-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | wget-langppc64le | Advisory build | 1.21.1-2.2 | OPENSUSE-SU-2024:11510-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | wget-langs390x | Advisory build | 1.21.1-2.2 | OPENSUSE-SU-2024:11510-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | wget-langx86_64 | Advisory build | 1.21.1-2.2 | OPENSUSE-SU-2024:11510-1 |
| Ubuntu | xenial | wget | Advisory build | 1.17.1-1ubuntu1.3 | USN-3464-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- certcc · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GNU Project | Wget | prior to 1.19.2 (affected) | certcc · cna |
Weaknesses
1- CWE-121 CWE-121: Stack-based Buffer Overflow
References
9- http://git.savannah.gnu.org/cgit/wget.git/commit/?id=d892291fb8ace4c3b734ea5125770989c215df3f
- DSA-4008 http://www.debian.org/security/2017/dsa-4008
- 101592 http://www.securityfocus.com/bid/101592
- 1039661 http://www.securitytracker.com/id/1039661
- RHSA-2017:3075 https://access.redhat.com/errata/RHSA-2017:3075
- https://github.com/r1b/CVE-2017-13089
- GLSA-201711-06 https://security.gentoo.org/glsa/201711-06
- https://www.synology.com/support/security/Synology_SA_17_62_Wget
- https://www.viestintavirasto.fi/en/cybersecurity/vulnerabilities/2017/haavoittuvuus-2017-037.html
Provider assertions
2certcc · cna
GNU Wget: stack overflow in HTTP protocol handling
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d07b59bc099ee60090f9f8bb46632750b0e95682a6598ddc2da99043c65ffe6d
- Ingested
- 23 Sep 2026, 07:42:00 UTC
- Source record
- Official CVE record