CVE-2022-41919
Last modified
CVE-2022-41919 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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`. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
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'.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Fastify | Fastify | >= 3.0.0, < 3.29.4 |
| Fastify | Fastify | >= 4.0.0, < 4.10.2 |
References
- https://github.com/fastify/fastify/commit/62dde76f1f7aca76e38625fe8d983761f26e6fc9Patch, Third Party Advisory
- https://github.com/fastify/fastify/security/advisories/GHSA-3fjj-p79j-c9hhThird Party Advisory
- https://github.com/fastify/fastify/commit/62dde76f1f7aca76e38625fe8d983761f26e6fc9Patch, Third Party Advisory
- https://github.com/fastify/fastify/security/advisories/GHSA-3fjj-p79j-c9hhThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-41919?
How severe is CVE-2022-41919?
How do I fix CVE-2022-41919?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-41913Discourse-calendar is a plugin for the Discourse messaging p…5.4
- CVE-2022-41914Zulip is an open-source team collaboration tool. For organiz…3.7
- CVE-2022-41915Netty project is an event-driven asynchronous network applic…6.5
- CVE-2022-41916Heimdal is an implementation of ASN.1/DER, PKIX, and Kerbero…7.5
- CVE-2022-41917OpenSearch is a community-driven, open source fork of Elasti…4.3
- CVE-2022-41918OpenSearch is a community-driven, open source fork of Elasti…6.3
- CVE-2022-4192Use after free in Live Caption in Google Chrome prior to 108…8.8
- CVE-2022-41920Lancet is a general utility library for the go programming l…8.8
- CVE-2022-41921Discourse is an open-source discussion platform. Prior to ve…4.3
- CVE-2022-41922`yiisoft/yii` before version 1.1.27 are vulnerable to Remote…9.8
- CVE-2022-41923Grails Spring Security Core plugin is vulnerable to privileg…9.8
- CVE-2022-41924A vulnerability identified in the Tailscale Windows client a…9.6
Are you affected by CVE-2022-41919?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
