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 Details
- CVSS 3.0 Base Score: 8.8
- CVSS 3.0 Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade wget | May 25, 2018 | Oct 27, 2017 |
| Amazon_linux | — | Upgrade wget | Oct 27, 2017 | Oct 26, 2017 |
| Arch Linux | — | Upgrade to the latest version of Arch Linux | Jul 11, 2025 | Oct 27, 2017 |
| Centos_linux | — | Upgrade wgetUpgrade wget-debuginfo | Oct 27, 2017 | Oct 26, 2017 |
| Debian | — | Upgrade wget | Oct 29, 2017 | Oct 26, 2017 |
| Freebsd | — | Upgrade wget | Oct 27, 2017 | Oct 27, 2017 |
| Gentoo Linux | — | Upgrade net-misc/wget. | Nov 13, 2017 | Oct 27, 2017 |
| Huawei Euleros 2_0_sp1 | — | Upgrade wget | Nov 30, 2017 | Oct 27, 2017 |
| Huawei Euleros 2_0_sp2 | — | Upgrade wget | Nov 30, 2017 | Oct 27, 2017 |
| Oracle Solaris | — | Upgrade web/wget to version 1.19.2-0.175.3.27.0.2.0 on Solaris 11.3 | Dec 19, 2017 | Oct 27, 2017 |
| Oracle_linux | — | Upgrade wget | Oct 26, 2017 | Oct 26, 2017 |
| Redhat_linux | — | Upgrade wget-debuginfoUpgrade wget | Oct 30, 2017 | Oct 26, 2017 |
| Suse | — | Upgrade wget | Oct 28, 2017 | Oct 26, 2017 |
| Ubuntu | — | Upgrade wget | Oct 26, 2017 | Oct 26, 2017 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Oct 27, 2017 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub