Back to CVE catalog

AI summary

GNU Wget before 1.19.2 does not check that the chunk length of chunked responses is non-negative, which can happen when skipping a short body, for example while processing redirects. The negative length is passed to fd_read with its high 32 bits discarded, leaving an attacker-controlled length argument.

Generated automatically from the source description. Check the sources below before acting.

CVE-2017-13089

wget chunk parser negative length

GNU Project Wget

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v3.0

8.8High
Published:
Updated:
EPSS:
79.855%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:GNU ProjectWget
Environments (1)
  • any
Affected versions:
prior to 1.19.2
Vendor:Red HatRed Hat Enterprise Linux Client (v. 7)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux ComputeNode (v. 7)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Server (v. 7)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Workstation (v. 7)Affected versions:Source does not specify a version range
Vendor:SUSESUSE Enterprise Storage 6Affected versions:Source does not specify a version range
Vendor:SUSESUSE Enterprise Storage 7Affected versions:Source does not specify a version range
Vendor:SUSESUSE Enterprise Storage 7.1Affected versions:Source does not specify a version range
Vendor:SUSESUSE Liberty Linux 7Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise Desktop 12 SP2Affected versions:Source does not specify a version range

1–10 of 37 · Page 1 of 4

CVSS scores and metrics7
certcc · CVE List / CNA (cna)Primary8.8 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
[email protected] · NVD (Secondary)8.8 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
[email protected] · NVD (Primary)8.8 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVE-2017-13089 · OSV (source-vector)8.8 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Red Hat · Red Hat VEX (adp)7.8 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Not required
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
SUSE · SUSE VEX (adp)8.8 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
[email protected] · NVD (Primary)9.3 / 10HighCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories15

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences