Amenazas en vivo

Todas las CVE / Smartbear

CVE-2024-22207Smartbear Swagger Ui

Media 5.3 Sin autenticación

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Swagger Ui.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCó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)

FabricanteProductoVersiones
smartbearswagger_ui≥ 2.0.0 < 2.1.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.