Vulnerability Details : 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 category: Cross-site request forgery (CSRF)Information leak
Products affected by CVE-2020-28482
- cpe:2.3:a:fastify:fastify-csrf:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-28482
0.21%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 59 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-28482
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST | |
5.9
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N |
1.6
|
4.2
|
Snyk |
CWE ids for CVE-2020-28482
-
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.Assigned by: nvd@nist.gov (Primary)
-
The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-28482
-
https://github.com/fastify/fastify-csrf/pull/26
feat: safe defaults by simoneb · Pull Request #26 · fastify/fastify-csrf · GitHubThird Party Advisory
-
https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044
Cross-site Request Forgery (CSRF) in fastify-csrf | SnykThird Party Advisory
Jump to