Security mailing lists by PureSourceCode

CVE-2017-13089

HIGH 8.8CVSS 3.0

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.

Published
27 Oct 2017
Last modified
17 Jun 2026
Assigned by
cret@cert.org
NVD status
Modified
Weakness
CWE-119CWE-121
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD cret@cert.org (Secondary) CVSS 3.0 HIGH 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gnu wget
cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:*
<= 1.19.1
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 27 Oct 2017)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.