CVE-2022-41919
CVSS V2 None
CVSS V3 High 8.8
Description
Fastify is a web framework with minimal overhead and plugin architecture. The attacker can use the incorrect `Content-Type` to bypass the `Pre-Flight` checking of `fetch`. `fetch()` requests with Content-Type’s essence as "application/x-www-form-urlencoded", "multipart/form-data", or "text/plain", could potentially be used to invoke routes that only accepts `application/json` content type, thus bypassing any CORS protection, and therefore they could lead to a Cross-Site Request Forgery attack. This issue has been patched in version 4.10.2 and 3.29.4. As a workaround, implement Cross-Site Request Forgery protection using `@fastify/csrf'.
Overview
- CVE ID
- CVE-2022-41919
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-11-22T20:15:11
- Last Modified Date
- 2022-11-26T03:35:02
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:fastify:fastify:*:*:*:*:*:node.js:*:* | 1 | OR | 3.0.0 | 3.29.4 |
cpe:2.3:a:fastify:fastify:*:*:*:*:*:node.js:*:* | 1 | OR | 4.0.0 | 4.10.2 |
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
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-41919 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41919 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-11-22 21:00:18 | Added to TrackCVE | |||
2022-12-07 18:00:07 | 2022-11-22T20:15Z | 2022-11-22T20:15:11 | CVE Published Date | updated |
2022-12-07 18:00:07 | 2022-11-26T03:35:02 | CVE Modified Date | updated | |
2022-12-07 18:00:07 | Analyzed | Vulnerability Status | updated | |
2022-12-07 18:00:09 | CPE Information | updated |