CVE-2024-22207Smartbear Swagger Ui
Media 5.3 Sin autenticación
Seguir: esta CVE · Smartbear · Smartbear Swagger Ui Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 3.1
- 5.3
- EPSS
- 3.2% probabilidad de explotación en 30 días · percentil 89
- Requiere autenticación
- No
- Publicada
- 15 ene 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-1188
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Qué pasa
fastify-swagger-ui is a Fastify plugin for serving Swagger UI. Prior to 2.1.0, the default configuration of `@fastify/swagger-ui` without `baseDir` set will lead to all files in the module's directory being exposed via http routes served by the module. The vulnerability is fixed in v2.1.0. Setting the `baseDir` option can also work around this vulnerability.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Swagger Ui.
- 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 | @fastify/swagger-ui |
≥ 2.0.0 < 2.1.0 |
2.1.0 |
npm install @fastify/swagger-ui@2.1.0 |
Según OSV / GitHub Advisories (GHSA-62jr-84gf-wmg4). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| smartbear | swagger_ui | ≥ 2.0.0 < 2.1.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Vendor Advisory
- security.netapp.com