CVE-2025-25200Koajs Koa
Crítica 9.2 Sin autenticación
Seguir: esta CVE · Koajs · Koajs Koa Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 70
- CVSS 4.0
- 9.2
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 12 feb 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-1333
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
Koa is expressive middleware for Node.js using ES2017 async functions. Prior to versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3, Koa uses an evil regex to parse the `X-Forwarded-Proto` and `X-Forwarded-Host` HTTP headers. This can be exploited to carry out a Denial-of-Service attack. Versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3 fix the issue.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Koa.
- 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 | koa |
≥ 2.0.0 < 2.15.4 |
2.15.4 |
npm install koa@2.15.4 |
| npm | koa |
≥ 3.0.0-alpha.0 < 3.0.0-alpha.3 |
3.0.0-alpha.3 |
npm install koa@3.0.0-alpha.3 |
| npm | koa |
≥ 1.0.0 < 1.7.1 |
1.7.1 |
npm install koa@1.7.1 |
| npm | koa |
< 0.21.2 |
0.21.2 |
npm install koa@0.21.2 |
Según OSV / GitHub Advisories (GHSA-593f-38f6-jp5m). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| koajs | koa | < 0.21.2 |
| koajs | koa | ≥ 1.0.0 < 1.7.1 |
| koajs | koa | ≥ 2.0.0 < 2.15.4 |
| koajs | koa | 3.0.0 |
| koajs | koa | 3.0.0 |
| koajs | koa | 3.0.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Product
- github.com Product
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Release Notes
- github.com Vendor Advisory