9.3

CVE-2017-13089: GNU Wget: stack overflow in HTTP protocol handling

Modified
AliasesALPINE-CVE-2017-13089UBUNTU-CVE-2017-13089DEBIAN-CVE-2017-13089
Published 27-10-2017Last modified 17-09-2024

Vulnerability summary

CVE-2017-13089 is a high (CVSS 9.3) Stack-based Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 79.86% chance of exploitation in the next 30 days, higher than 99.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
9.3/10
010
High · v2.0 (NVD)
EPSS score
79.86%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 8 · Related 4

Timeline

  1. 27-10-2017
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

Description

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 metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

79.86%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

No change 0.00 pp

From 79.86% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
Alpine1 product
  • wget< 1.18-r2 | < 1.18-r3
Gnu1 product
Gnu project1 product
Ubuntu1 product
  • wget< 1.15-1ubuntu1.14.04.3 | < 1.17.1-1ubuntu1.3

5 vendors · 6 products

References

15 links
Show all 15 references