CVE-2022-39288
HIGH 7.5CVSS 3.1fastify vulnerable to denial of service via malicious Content-Type
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.
- Published
- 10 Oct 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-754
- Also known as
- GHSA-455w-c45v-86rg
- Sources
- NVDJSONOSV GHSA-455w-c45v-86rgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fastify | fastifycpe:2.3:a:fastify:fastify:*:*:*:*:*:node.js:*:* |
< 4.8.1 | 4.8.1 |
| OSV | npm | fastify | >= 4.0.0, < 4.8.1 | 4.8.1 |
References
- https://github.com/fastify/fastify/commit/fbb07e8dfad74c69cd4cd2211aedab87194618e3 · Patch, Third Party Advisory, WEB
- https://github.com/fastify/fastify/security/advisories/GHSA-455w-c45v-86rg · Mitigation, Third Party Advisory, WEB
- https://github.com/fastify/fastify/security/policy · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-39288 · ADVISORY
- https://github.com/fastify/fastify · PACKAGE
- https://hackerone.com/bugs?report_id=1715536&subject=fastify · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 10 Oct 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 11 Oct 2022)