9.3

CVE-2017-13090: debian debian_linux Heap-based Buffer Overflow

CVSS: 9.3v2.0HighModified
AliasesALPINE-CVE-2017-13090UBUNTU-CVE-2017-13090DEBIAN-CVE-2017-13090
Published 27-10-2017Last modified 16-09-2024

Vulnerability summary

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

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.3/10
010
High · v2.0 (NVD)
EPSS score
36.56%
0%100%
High · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 8 · Related 4

Timeline

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

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

36.56%

Chance of exploitation in the next 30 days

Percentile

98%

Versus all other CVEs

30-day change

0.00 pp

From 36.56% on 18-09-2026

18-09-202618-10-2026
EPSS score
36.56%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian2 products
Alpine1 product
  • wget< 1.19.2-r0 | < 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

14 links
Show all 14 references