CVE-2024-45296pillarjs path-to-regexp
Alta 7.5 Sin autenticación
Seguir: esta CVE · pillarjs · pillarjs path-to-regexp Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.4% probabilidad de explotación en 30 días · percentil 73
- Requiere autenticación
- No
- Publicada
- 9 sep 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-1333
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
path-to-regexp turns path strings into a regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance. Because JavaScript is single threaded and regex matching runs on the main thread, poor performance will block the event loop and lead to a DoS. The bad regular expression is generated any time you have two parameters within a single segment, separated by something that is not a period (.). For users of 0.1, upgrade to 0.1.10. All other users should upgrade to 8.0.0.
Qué hacer
- Aplica la actualización de seguridad del fabricante para path-to-regexp.
- 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 | path-to-regexp |
< 0.1.13 |
0.1.13 |
npm install path-to-regexp@0.1.13 |
| npm | path-to-regexp |
≥ 0.2.0 < 1.9.0 |
1.9.0 |
npm install path-to-regexp@1.9.0 |
| npm | path-to-regexp |
< 0.1.10 |
0.1.10 |
npm install path-to-regexp@0.1.10 |
| npm | path-to-regexp |
≥ 7.0.0 < 8.0.0 |
8.0.0 |
npm install path-to-regexp@8.0.0 |
| npm | path-to-regexp |
≥ 2.0.0 < 3.3.0 |
3.3.0 |
npm install path-to-regexp@3.3.0 |
| npm | path-to-regexp |
≥ 4.0.0 < 6.3.0 |
6.3.0 |
npm install path-to-regexp@6.3.0 |
Según OSV / GitHub Advisories (GHSA-37ch-88jc-xwx2, GHSA-9wv6-86v2-598j). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- pillarjs · path-to-regexp
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.