CVE & CISA-KEV Catalog

CVE-2022-41919

MEDIUM
4.2
CVSS v3
NVD

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'.

How to fix

Remediation Available
fastifyNVD
Affected:>= 4.0.0, < 4.10.2Fixed in:4.10.2CVE-2022-41919derived from NVD

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

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Exploit Intelligence

0.37%probability of exploitation in 30 days
29thpercentile

Low risk: more likely to be exploited than 29% of all known CVEs.

References

Third-Party Advisory1
Other references1

Related Vulnerabilities

Other CWE-352 (Cross-Site Request Forgery) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2016-6277High8.8100%KEV-
CVE-2014-0054Medium6.891%-Fix
CVE-2013-6429Medium6.890%-Fix
CVE-2022-41622High8.888%--
CVE-2018-7700High8.875%--
CVE-2015-2295Medium6.866%--
Embed a live status badge for CVE-2022-41919
CVE-2022-41919 severity badge

Markdown

[![CVE-2022-41919](https://tridentstack.com/cve/badge/CVE-2022-41919.svg)](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 free

This 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.