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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.010 (60.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 61st percentile — 60.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.010 · change: 0.000
Affected products
- Fastify Fastify-Csrf
- Fastify-Csrf — versions unspecified
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044 (Third Party Advisory)
- github.com/fastify/fastify-csrf/pull/26 (Third Party Advisory)
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.