Amenazas en vivo

Todas las CVE / Node-fetch Project

CVE-2020-15168Node-fetch Project Node-fetch

Media 5.3 Sin autenticación

Prioridad
47
CVSS 3.1
5.3
EPSS
1.7%
probabilidad de explotación en 30 días · percentil 78
Requiere autenticación
No
Publicada
10 sep 2020
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-20, CWE-770
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Qué pasa

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Node-fetch.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
npm node-fetch ≥ 2.0.0 < 2.6.1 2.6.1 npm install node-fetch@2.6.1
npm node-fetch ≥ 3.0.0-beta.1 < 3.0.0-beta.9 3.0.0-beta.9 npm install node-fetch@3.0.0-beta.9

Según OSV / GitHub Advisories (GHSA-w7rc-rwvf-8q5r). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
node-fetch_projectnode-fetch< 2.6.1
node-fetch_projectnode-fetch3.0.0
node-fetch_projectnode-fetch3.0.0
node-fetch_projectnode-fetch3.0.0
node-fetch_projectnode-fetch3.0.0
node-fetch_projectnode-fetch3.0.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.