CVE-2020-28482Fastify-csrf
Alta 8.8 Sin autenticación
Seguir: esta CVE · Fastify · Fastify-csrf Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 68
- CVSS 3.1
- 8.8
- EPSS
- 1.0% probabilidad de explotación en 30 días · percentil 64
- Requiere autenticación
- No
- Publicada
- 19 ene 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Qué pasa
This affects the package fastify-csrf before 3.0.0. 1. The generated cookie used insecure defaults, and did not have the httpOnly flag on: cookieOpts: { path: '/', sameSite: true } 2. The CSRF token was available in the GET query parameter
Qué hacer
- Aplica la actualización de seguridad del fabricante para Fastify-csrf.
- 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-csrf |
< 3.0.0 |
3.0.0 |
npm install fastify-csrf@3.0.0 |
Según OSV / GitHub Advisories (GHSA-49wp-qq6x-g2rf). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| fastify | fastify-csrf | < 3.0.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Third Party Advisory
- snyk.io Third Party Advisory