Amenazas en vivo

Todas las CVE / Fastify

CVE-2021-29624Fastify-csrf

Media 6.5 Sin autenticación

Prioridad
54
CVSS 3.1
6.5
EPSS
0.8%
probabilidad de explotación en 30 días · percentil 59
Requiere autenticación
No
Publicada
19 may 2021
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-565, CWE-352
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Qué pasa

fastify-csrf is an open-source plugin helps developers protect their Fastify server against CSRF attacks. Versions of fastify-csrf prior to 3.1.0 have a "double submit" mechanism using cookies with an application deployed across multiple subdomains, e.g. "heroku"-style platform as a service. Version 3.1.0 of the fastify-csrf fixes it. the vulnerability. The user of the module would need to supply a `userInfo` when generating the CSRF token to fully implement the protection on their end. This is needed only for applications hosted on different subdomains.

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-csrf.
  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-csrf < 3.1.0 3.1.0 npm install fastify-csrf@3.1.0

Según OSV / GitHub Advisories (GHSA-rc4q-9m69-gqp8). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
fastifyfastify-csrf< 3.1.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.