Vulnerability 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
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Fastify | Fastify-Csrf | < 3.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/fastify/fastify-csrf/pull/26Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044Third Party Advisory
- https://github.com/fastify/fastify-csrf/pull/26Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044Third Party Advisory
FAQ
What is CVE-2020-28482?
CVE-2020-28482 is a vulnerability with a CVSS score of 5.9 (MEDIUM). 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 w...
How severe is CVE-2020-28482?
CVE-2020-28482 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-28482?
Check the references section above for vendor advisories and patch information. Affected products include: Fastify Fastify-Csrf.