Information disclosure in Fastify Fastify-Csrf
CVE-2020-28482
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
Vulnerability class: Information Disclosure
EPSS: 0.010 (58.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N.
Affected products
- Fastify Fastify-csrf
- N/a Fastify-csrf — versions unspecified
Weakness classification (CWE)
References
- report@snyk.io (Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2020-28482?
- CVE-2020-28482 is a medium-severity vulnerability in Fastify Fastify-Csrf, classified under Information Disclosure. CVSS score: 5.9/10. Published 2021-01-19.
- How severe is CVE-2020-28482?
- Medium severity. CVSS v3 base score is 5.9 out of 10.