CVE-2022-39288: Denial of service in Fastify via Content-Type header
fastify is a fast and low overhead web framework, for Node.js. Affected versions of fastify are subject to a denial of service via malicious use of the Content-Type header. An attacker can send an invalid Content-Type header that can cause the application to crash. This issue has been addressed in commit fbb07e8d and will be included in release version 4.8.1. Users are advised to upgrade. Users unable to upgrade may manually filter out http content with malicious Content-Type headers.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-39288?
The severity of CVE-2022-39288 is classified as high due to its potential to cause a denial of service.
How do I fix CVE-2022-39288?
To fix CVE-2022-39288, you should upgrade your Fastify version to 4.8.1 or later.
What attack vector is associated with CVE-2022-39288?
CVE-2022-39288 can be exploited by sending a malicious invalid Content-Type header to the application.
What versions of Fastify are affected by CVE-2022-39288?
CVE-2022-39288 affects all Fastify versions up to 4.8.1, inclusive.
Can I mitigate CVE-2022-39288 without updating Fastify?
Mitigating CVE-2022-39288 without updating Fastify may be difficult but implementing strict validation of the Content-Type header could help reduce risk.