Todas las CVE / Node-fetch Project
CVE-2020-15168Node-fetch Project Node-fetch
Media 5.3 Sin autenticación
Seguir: esta CVE · Node-fetch Project · Node-fetch Project Node-fetch Te avisamos por email o Slack (requiere cuenta).
- 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
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Node-fetch.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Có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)
| Fabricante | Producto | Versiones |
|---|---|---|
| node-fetch_project | node-fetch | < 2.6.1 |
| node-fetch_project | node-fetch | 3.0.0 |
| node-fetch_project | node-fetch | 3.0.0 |
| node-fetch_project | node-fetch | 3.0.0 |
| node-fetch_project | node-fetch | 3.0.0 |
| node-fetch_project | node-fetch | 3.0.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Third Party Advisory
- www.npmjs.com Product Third Party Advisory