CVE-2021-29624
CVSS V2 Medium 4.3
CVSS V3 Medium 6.5
Description
fastify-csrf is an open-source plugin helps developers protect their Fastify server against CSRF attacks. Versions of fastify-csrf prior to 3.1.0 have a "double submit" mechanism using cookies with an application deployed across multiple subdomains, e.g. "heroku"-style platform as a service. Version 3.1.0 of the fastify-csrf fixes it. the vulnerability. The user of the module would need to supply a `userInfo` when generating the CSRF token to fully implement the protection on their end. This is needed only for applications hosted on different subdomains.
Overview
- CVE ID
- CVE-2021-29624
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-05-19T22:15:07
- Last Modified Date
- 2022-10-25T20:56:24
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:fastify:fastify-csrf:*:*:*:*:*:node.js:*:* | 1 | OR | 3.1.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 6.5
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/fastify/fastify-csrf/releases/tag/v3.1.0 | Third Party Advisory |
https://owasp.org/www-pdf-archive/David_Johansson-Double_Defeat_of_Double-Submit_Cookie.pdf | Third Party Advisory |
https://github.com/fastify/csrf/pull/2 | Patch Third Party Advisory |
https://github.com/fastify/fastify-csrf/security/advisories/GHSA-rc4q-9m69-gqp8 | Patch Third Party Advisory |
https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html | Third Party Advisory |
https://github.com/fastify/fastify-csrf/pull/51 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-29624 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29624 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:14:34 | Added to TrackCVE | |||
2022-12-05 02:39:20 | 2021-05-19T22:15Z | 2021-05-19T22:15:07 | CVE Published Date | updated |
2022-12-05 02:39:20 | 2022-10-25T20:56:24 | CVE Modified Date | updated | |
2022-12-05 02:39:20 | Analyzed | Vulnerability Status | updated |