En resumen
- CVE-2020-28482 es una vulnerabilidad ALTO (CVSS 8.8) que afecta a fastify-csrf (fastify), fastify-csrf.
- Probabilidad de explotación en los próximos 30 días (EPSS): 0.99%, mayor que el 62.6% de las vulnerabilidades.
- Solución: actualizar a 3.0.0 o posterior.
Description
The package fastify-csrf before 3.0.0 has a set of issues that affect its ability to do CSRF protection.
- The generated cookie used insecure defaults, and did not have the httpOnly flag on:
cookieOpts: { path: '/', sameSite: true }
- The CSRF token was available in the GET query parameter
NVD description
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
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free