要点
- CVE-2020-28482 是影响 fastify-csrf (fastify), fastify-csrf 的高危 (CVSS 8.8)漏洞。
- 未来 30 天内被利用的概率(EPSS):0.99%,高于 62.6% 的漏洞。
- 修复:升级到 3.0.0 或更高版本。
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