Skip to main content

Improper Check for Unusual or Exceptional Conditions


Severity High
Score 7.5/10


Fastify is a fast and low overhead web framework, for Node.js. Versions prior to 3.29.3, and 4.0.x prior to 4.8.1 of fastify are vulnerable 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.

  • LOW
  • NONE
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-754 - Improper Check for Unusual or Exceptional Conditions

The software does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the software.

Advisory Timeline

  • Published