{"id":"CVE-2022-39288","published":"2022-10-10T00:00:00Z","modified":"2025-04-23T16:51:56Z","title":"Denial of service in Fastify via Content-Type header","vendor":"fastify","product":"fastify","tier":"core","eol":null,"affectedVersions":[{"vendor":"fastify","product":"fastify","versions":[">= 4.0.0, < 4.8.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-23T15:50:15.699604Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The Fastify web framework for Node.js contains a flaw in how it processes the Content-Type request header, classed as an improper check for unusual or exceptional conditions. An unauthenticated remote attacker who can reach the application over the network can send a malformed Content-Type header, which can crash the application and cause a denial of service; no user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:17:36Z"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.59244,"percentile":0.99139,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"references":[{"url":"https://github.com/fastify/fastify/security/advisories/GHSA-455w-c45v-86rg","tags":[]},{"url":"https://github.com/fastify/fastify/commit/fbb07e8dfad74c69cd4cd2211aedab87194618e3","tags":[]},{"url":"https://github.com/fastify/fastify/security/policy","tags":[]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"npm","package":"fastify","vulnerableRanges":[">=4.0.0, <4.8.1"],"patched":["4.8.1"],"from":["GHSA-455w-c45v-86rg"],"provenance":"source"}],"advisories":[{"id":"GHSA-455w-c45v-86rg","url":"https://github.com/advisories/GHSA-455w-c45v-86rg","severity":"HIGH","ecosystem":"npm","package":"fastify","vulnerableRanges":[">=4.0.0, <4.8.1"],"patched":["4.8.1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2022-7008","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-7008","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2022-10-10","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2022-39288","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":25.1,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.83,"detail":"percentile 0.9914"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":5.25,"detail":"base score 7.5"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-fastify-cve-2022-39288","children":[{"from":"CVE-2022-39288","to":"CVE-2022-41919","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:fastify","fromFixed":"4.8.1","toFixed":"4.10.2","daysApart":43},{"kind":"same-code","provenance":"machine","files":["lib/contentTypeParser.js"],"commits":["https://github.com/fastify/fastify/commit/fbb07e8dfad74c69cd4cd2211aedab87194618e3","https://github.com/fastify/fastify/commit/62dde76f1f7aca76e38625fe8d983761f26e6fc9"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2018-3711","published":"2018-06-07","fixed":"0.38.0","kev":false},{"cve":"CVE-2020-8192","published":"2020-07-30","fixed":"2.15.1","kev":false},{"cve":"CVE-2022-39288","published":"2022-10-10","fixed":"4.8.1","kev":false},{"cve":"CVE-2022-41919","published":"2022-11-22","fixed":"4.10.2","kev":false},{"cve":"CVE-2025-32442","published":"2025-04-18","fixed":"5.3.2","kev":false},{"cve":"CVE-2026-25223","published":"2026-02-03","fixed":"5.7.2","kev":false}],"package":"npm:fastify"}}