Menu

Star on GitHub · 3.3k

CVE-2022-41919

4.2 · MEDIUM

Fastify is a web framework with minimal overhead and plugin architecture.

Published Nov 22, 2022CWE-352EPSS 0.40%

Overview

CVE-2022-41919 is a medium-severity vulnerability. It was published on November 22, 2022 and has a CVSS 3.1 base score of 4.2 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.2, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-41919?

CVE-2022-41919 is a medium-severity vulnerability. It was published on November 22, 2022 and has a CVSS 3.1 base score of 4.2 (MEDIUM).

How severe is CVE-2022-41919?

This vulnerability has a CVSS 3.1 base score of 4.2, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2022-41919?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-41919?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-41919 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2022

View all
LiveWatch live →