Live threats

All CVEs / Fastify

CVE-2022-39288Fastify

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.0%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Oct 10, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-754
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Fastify.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm fastify ≥ 4.0.0 < 4.8.1 4.8.1 npm install fastify@4.8.1

Per OSV / GitHub Advisories (GHSA-455w-c45v-86rg). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
fastifyfastify< 4.8.1

Official sources

References

Links published by the sources. Open them with care.