En bref
- CVE-2020-28482 est une vulnérabilité ÉLEVÉE (CVSS 8.8) touchant fastify-csrf (fastify), fastify-csrf.
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 0.99%, plus élevée que 62.6% des vulnérabilités.
- Correctif : mettre à jour vers 3.0.0 ou plus récent.
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