CVE-2017-13090

HighCVSS 8.8/10Last modified Jun 17, 2026

Description

The retr.c:fd_read_body() function is called when processing OK responses. 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 read the chunk in pieces of 8192 bytes by using the MIN() macro, but ends up passing the negative chunk length to retr.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. The attacker can corrupt malloc metadata after the allocated buffer.

Metrics

CVSS 3.0 8.8/10CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Oct 27, 2017
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2017

CVE-2017-130917.8The P1735 IEEE standard describes flawed methods for encrypting electronic-design intellectual property (IP), as well as the management of aCVE-2017-130927.8The P1735 IEEE standard describes flawed methods for encrypting electronic-design intellectual property (IP), as well as the management of aCVE-2017-130937.8The P1735 IEEE standard describes flawed methods for encrypting electronic-design intellectual property (IP), as well as the management of aCVE-2017-130947.8The P1735 IEEE standard describes flawed methods for encrypting electronic-design intellectual property (IP), as well as the management of aCVE-2017-130957.8The P1735 IEEE standard describes flawed methods for encrypting electronic-design intellectual property (IP), as well as the management of aCVE-2017-130967.8The P1735 IEEE standard describes flawed methods for encrypting electronic-design intellectual property (IP), as well as the management of aCVE-2017-130977.8The P1735 IEEE standard describes flawed methods for encrypting electronic-design intellectual property (IP), as well as the management of aCVE-2017-130985.9BouncyCastle TLS prior to version 1.0.3, when configured to use the JCE (Java Cryptography Extension) for cryptographic functions, provides CVE-2017-130995.9wolfSSL prior to version 3.12.2 provides a weak Bleichenbacher oracle when any TLS cipher suite using RSA key exchange is negotiated. An attCVE-2017-13106.5IBM Informix Dynamic Server 12.1 could allow an authenticated user to cause a buffer overflow that would write large assertion fail files toCVE-2017-131007.5DistinctDev, Inc., The Moron Test, 6.3.1, 2017-05-04, iOS application uses a hard-coded key for encryption. Data stored using this key can bCVE-2017-131017.5Musical.ly Inc., musical.ly - your video social network, 6.1.6, 2017-10-03, iOS application uses a hard-coded key for encryption. Data store
CVE-2017-13090: High severity, CVSS 8.8 | Vulnix