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 | alpine-linux-upgrade-wget | May 25, 2018 | Oct 27, 2017 | |
| Amazon_linux | — | amazon-linux-upgrade-wget | Oct 27, 2017 | Oct 26, 2017 |
| Arch Linux | arch-linux-upgrade-latest | Jul 11, 2025 | Oct 27, 2017 | |
| Centos_linux | — | centos-upgrade-wgetcentos-upgrade-wget-debuginfo | Oct 27, 2017 | Oct 26, 2017 |
| Debian | debian-upgrade-wget | Oct 29, 2017 | Oct 26, 2017 | |
| Freebsd | freebsd-upgrade-package-wget | Oct 27, 2017 | Oct 27, 2017 | |
| Gentoo Linux | gentoo-linux-upgrade-net-misc-wget | Nov 13, 2017 | Oct 27, 2017 | |
| Huawei Euleros 2_0_sp1 | huawei-euleros-2_0_sp1-upgrade-wget | Nov 30, 2017 | Oct 27, 2017 | |
| Huawei Euleros 2_0_sp2 | huawei-euleros-2_0_sp2-upgrade-wget | Nov 30, 2017 | Oct 27, 2017 | |
| Oracle Solaris | oracle-solaris-11-3-upgrade-web-wget-1-19-2-0-175-3-27-0-2-0 | Dec 19, 2017 | Oct 27, 2017 | |
| Oracle_linux | — | oracle-linux-upgrade-wget | Oct 26, 2017 | Oct 26, 2017 |
| Redhat_linux | — | redhat-upgrade-wgetredhat-upgrade-wget-debuginfo | Oct 30, 2017 | Oct 26, 2017 |
| Suse | — | suse-upgrade-wget | Oct 28, 2017 | Oct 26, 2017 |
| Ubuntu | ubuntu-upgrade-wget | Oct 26, 2017 | Oct 26, 2017 | |
| Vmware Photon_os | vmware-photon_os_update_tdnf | 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