CVE-2022-41919
MEDIUMDescription
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'.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Exploit Intelligence
Low risk: more likely to be exploited than 29% of all known CVEs.
References
Related Vulnerabilities
Other CWE-352 (Cross-Site Request Forgery) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2016-6277 | High | 8.8 | 100% | KEV | - |
| CVE-2014-0054 | Medium | 6.8 | 91% | - | Fix |
| CVE-2013-6429 | Medium | 6.8 | 90% | - | Fix |
| CVE-2022-41622 | High | 8.8 | 88% | - | - |
| CVE-2018-7700 | High | 8.8 | 75% | - | - |
| CVE-2015-2295 | Medium | 6.8 | 66% | - | - |
Embed a live status badge for CVE-2022-41919
Markdown
[](https://tridentstack.com/cve/CVE-2022-41919)HTML
<a href="https://tridentstack.com/cve/CVE-2022-41919"><img src="https://tridentstack.com/cve/badge/CVE-2022-41919.svg" alt="CVE-2022-41919"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.