CVE-2020-28482
CVSS V2 Medium 6.8
CVSS V3 High 8.8
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
Overview
- CVE ID
- CVE-2020-28482
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2021-01-19T15:15:12
- Last Modified Date
- 2022-06-28T14:11:45
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:fastify:fastify-csrf:*:*:*:*:*:node.js:*:* | 1 | OR | 3.0.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.8
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044 | Third Party Advisory |
https://github.com/fastify/fastify-csrf/pull/26 | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-28482 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28482 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:25:58 | Added to TrackCVE | |||
2022-12-05 20:21:06 | 2021-01-19T15:15Z | 2021-01-19T15:15:12 | CVE Published Date | updated |
2022-12-05 20:21:06 | 2022-06-28T14:11:45 | CVE Modified Date | updated | |
2022-12-05 20:21:06 | Analyzed | Vulnerability Status | updated |