CVE-2025-54387Unjs Ipx
Media 6.9 Sin autenticación
Seguir: esta CVE · Unjs · Unjs Ipx Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 56
- CVSS 4.0
- 6.9
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 5 ago 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-22
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:L/SA:N/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
IPX is an image optimizer powered by sharp and svgo. In versions 1.3.1 and below, 2.0.0-0 through 2.1.0, and 3.0.0 through 3.1.0, the approach used to check whether a path is within allowed directories is vulnerable to path prefix bypass when the allowed directories do not end with a path separator. This occurs because the check relies on a raw string prefix comparison. This is fixed in versions 1.3.2, 2.1.1 and 3.1.1.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Ipx.
- 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 | ipx |
< 1.3.2 |
1.3.2 |
npm install ipx@1.3.2 |
| npm | ipx |
≥ 2.0.0-0 < 2.1.1 |
2.1.1 |
npm install ipx@2.1.1 |
| npm | ipx |
≥ 3.0.0 < 3.1.1 |
3.1.1 |
npm install ipx@3.1.1 |
Según OSV / GitHub Advisories (GHSA-mm3p-j368-7jcr). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| unjs | ipx | < 1.3.2 |
| unjs | ipx | ≥ 2.0.0 < 2.1.1 |
| unjs | ipx | ≥ 3.0.0 < 3.1.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Release Notes
- github.com Release Notes
- github.com Release Notes
- github.com Exploit Vendor Advisory