Advisory

DEBIAN-CVE-2020-15168

Also known as: CVE-2020-15168

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Dates

Published
2020-09-10 19:15 UTC
Modified
2026-10-26 12:00 UTC

Affected packages and fixes

node-fetch

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 2.6.1-2 (ecosystem)

Fixed versions

2.6.1-2

Fix

  • Fixed version 2.6.1-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

node-fetch

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 2.6.1-2 (ecosystem)

Fixed versions

2.6.1-2

Fix

  • Fixed version 2.6.1-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

node-fetch

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 2.6.1-2 (ecosystem)

Fixed versions

2.6.1-2

Fix

  • Fixed version 2.6.1-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences