Skip to content
OpenAdvisories
High · 7.5 CVE-2022-39288 EUVD-2022-7008GHSA-455w-c45v-86rg

Denial of service in Fastify via Content-Type header

Published Oct 10, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
fastify fastify >= 4.0.0, < 4.8.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm fastify >= 4.0.0, < 4.8.1 4.8.1 GHSA-455w-c45v-86rg

References