Skip to content
Fencer Intel
high 7.5

CVE-2022-39288 in the critical feed json

Denial of service in Fastify via Content-Type header

published 4y ago modified 4mo ago also GHSA-455w-c45v-86rg , EUVD-2022-7008

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
59.2%
EPSS 59.2% chance of exploitation in 30 days, percentile 99.1%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm fastify 4.8.1
  • fastify fastify 4.8.1

Is CVE-2022-39288 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
last yr.

Exploit prediction

59.24% chance of exploitation in the next 30 days, higher than 99.1% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
npm fastify
>=4.0.0, <4.8.1
4.8.1

Affected products

  • fastify fastify

Classification

Weakness
  • CWE-754 Improper Check for Unusual or Exceptional Conditions

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.