Amenazas en vivo

Todas las CVE / Fastify

CVE-2022-41919Fastify

Alta 8.8 Sin autenticación

Prioridad
68
CVSS 3.1
8.8
EPSS
0.5%
probabilidad de explotación en 30 días · percentil 37
Requiere autenticación
No
Publicada
22 nov 2022
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-352
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Qué pasa

Fastify is a web framework with minimal overhead and plugin architecture. The attacker can use the incorrect `Content-Type` to bypass the `Pre-Flight` checking of `fetch`. `fetch()` requests with Content-Type’s essence as "application/x-www-form-urlencoded", "multipart/form-data", or "text/plain", could potentially be used to invoke routes that only accepts `application/json` content type, thus bypassing any CORS protection, and therefore they could lead to a Cross-Site Request Forgery attack. This issue has been patched in version 4.10.2 and 3.29.4. As a workaround, implement Cross-Site Request Forgery protection using `@fastify/csrf'.

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 Fastify.
  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 ≥ 4.0.0 < 4.10.2 4.10.2 npm install fastify@4.10.2
npm fastify ≥ 3.0.0 < 3.29.4 3.29.4 npm install fastify@3.29.4

Según OSV / GitHub Advisories (GHSA-3fjj-p79j-c9hh). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
fastifyfastify≥ 3.0.0 < 3.29.4
fastifyfastify≥ 4.0.0 < 4.10.2

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.