5.3

CVE-2020-15168: node-fetch_project node-fetch Improper Input Validation

CVSS: 5.3v3.1MediumModified
AliasesUBUNTU-CVE-2020-15168DEBIAN-CVE-2020-15168GHSA-w7rc-rwvf-8q5r
Published 10-09-2020Last modified 04-08-2024

Vulnerability summary

CVE-2020-15168 is a medium (CVSS 5.3) Improper Input Validation vulnerability in node-fetch_project node-fetch. EPSS estimates a 1.69% chance of exploitation in the next 30 days, higher than 76.8% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.1 (NVD)
EPSS score
1.69%
0%100%
Low · 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 1 · Related 1

Timeline

  1. 10-09-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

node-fetch before versions 2.6.1 and 3.0.0-beta.9 did not honor the size option after following a redirect, which means that when a content size was over the limit, a FetchError would never get thrown and the process would end without failure. For most people, this fix will have a little or no impact. However, if you are relying on node-fetch to gate files above a size, the impact could be significant, for example: If you don't double-check the size of the data after fetch() has completed, your JS thread could get tied up doing work on a large file (DoS) and/or cost you money in computing.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

1.69%

Chance of exploitation in the next 30 days

Percentile

77%

Versus all other CVEs

30-day change

0.00 pp

From 1.69% on 21-09-2026

21-09-202621-10-2026
EPSS score
1.69%

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

Debian1 product
  • node-fetch< 2.6.1-2
Node-fetch1 product
  • node-fetch< 2.6.1 | > 3.0.0-beta.1, < 3.0.0-beta.9
Node-fetch_project1 product
  • node-fetch< 2.6.1 | 3.0.0:beta1 | 3.0.0:beta5 | 3.0.0:beta6 | 3.0.0:beta7 | 3.0.0:beta8
Npm1 product
  • node-fetch≥ 2.0.0, < 2.6.1 | ≥ 3.0.0-beta.1, < 3.0.0-beta.9
Ubuntu1 product
  • node-fetchAll versions (No fix recorded)

5 vendors · 5 products

References

9 links