Vulnerability CVE-2020-28482


Published: 2021-01-19

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

Type:

CWE-352

(Cross-Site Request Forgery (CSRF))

CVSS2 => (AV:N/AC:M/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
6.8/10
6.4/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Fastify -> Fastify-csrf 

 References:
https://github.com/fastify/fastify-csrf/pull/26
https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044

Copyright 2024, cxsecurity.com

 

Back to Top