CVE-2020-15168
JavaScript vulnerability analysis and mitigation

Overview

CVE-2020-15168 affects node-fetch versions before 2.6.1 and 3.0.0-beta.9. The vulnerability was discovered and disclosed in September 2020. The issue exists in the size option functionality of node-fetch, a light-weight module that brings Fetch API to Node.js (GitHub Advisory).

Technical details

The vulnerability stems from node-fetch not honoring the size option after following a redirect. When content size exceeded the specified limit, the expected FetchError would not be thrown, and the process would continue without failure. The vulnerability has a CVSS v3.1 base score of 5.3 (MEDIUM) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (NVD).

Impact

The impact of this vulnerability could be significant for applications relying on node-fetch to gate files above a specific size. If the size of data isn't double-checked after fetch() completion, the JavaScript thread could get tied up processing large files, potentially leading to Denial of Service (DoS) conditions. Additionally, this could result in unexpected computing costs due to processing oversized files (GitHub Advisory).

Exploitability

The vulnerability is exploitable when an application uses node-fetch with size limits and follows redirects. No known active exploits have been reported in the wild. The vulnerability requires no special privileges or user interaction to exploit (NVD).

Mitigation and workarounds

The vulnerability has been patched in versions 2.6.1 and 3.0.0-beta.9. Users are strongly recommended to upgrade to these or later versions. No workarounds are available, making it crucial to update as soon as possible (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-54504HIGH8.8
  • JavaScript logoJavaScript
  • @andrea9293/mcp-documentation-server
NoYesSep 17, 2026
CVE-2026-77615HIGH8.7
  • JavaScript logoJavaScript
  • paella-core
NoYesSep 17, 2026
CVE-2026-91127HIGH8.2
  • JavaScript logoJavaScript
  • @file-viewer/doc
NoYesSep 18, 2026
CVE-2026-77301HIGH7.5
  • JavaScript logoJavaScript
  • adm-zip
NoYesSep 18, 2026
CVE-2026-84992MEDIUM6.1
  • JavaScript logoJavaScript
  • md-editor-v3
NoYesSep 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management