Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. fastify
  4. ›
  5. CVE-2022-39288

CVE-2022-39288: Improper Check for Unusual or Exceptional Conditions

October 10, 2022 (updated October 12, 2022)

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.

References

  • github.com/advisories/GHSA-455w-c45v-86rg
  • github.com/fastify/fastify/commit/fbb07e8dfad74c69cd4cd2211aedab87194618e3
  • github.com/fastify/fastify/security/advisories/GHSA-455w-c45v-86rg
  • github.com/fastify/fastify/security/policy
  • hackerone.com/bugs?report_id=1715536&subject=fastify
  • nvd.nist.gov/vuln/detail/CVE-2022-39288

Code Behaviors & Features

Detect and mitigate CVE-2022-39288 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.8.1

Fixed versions

  • 4.8.1

Solution

Upgrade to version 4.8.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

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

Source file

npm/fastify/CVE-2022-39288.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:23 +0000.