Vulnerability · Published Oct 10, 2022 · Assigned by GitHub_M
CVE-2022-39288Denial of service in Fastify via Content-Type header
High 7.5
In plain English
A high-severity security flaw in fastify from fastify. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 59.2% (higher than 99.1% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | fastify | 4.8.1 | GHSA-455w-c45v-86rg |
Affected products (as reported)
Weakness: CWE-754 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H