{"schemaVersion":4,"id":"CVE-2023-25576","aliases":["GHSA-hpp2-2cr5-pf6g"],"status":"published","duplicateOf":null,"title":"@fastify/multipart vulnerable to DoS due to unlimited number of parts","description":"@fastify/multipart is a Fastify plugin to parse the multipart content-type. Prior to versions 7.4.1 and 6.0.1, @fastify/multipart may experience denial of service due to a number of situations in which an unlimited number of parts are accepted. This includes the multipart body parser accepting an unlimited number of file parts, the multipart body parser accepting an unlimited number of field parts, and the multipart body parser accepting an unlimited number of empty parts as field parts. This is fixed in v7.4.1 (for Fastify v4.x) and v6.0.1 (for Fastify v3.x). There are no known workarounds.","dates":{"published":"2023-02-14T15:04:11.119Z","modified":"2025-03-10T21:12:19.777Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0153,"percentile":0.75621,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.06699999999999987,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.01463},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0153,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0153,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0153,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0153,"percentile":0.75621}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01463,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01799,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0153,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0153,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0153,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0153,"percentile":0.75621}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"fastify","product":"fastify-multipart","name":"fastify-multipart","label":"fastify-multipart","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.0.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.0.1","endInclusive":false}},{"text":"≥ 7.0.0, < 7.4.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.0.0","startInclusive":true,"end":"7.4.1","endInclusive":false}}],"versionsText":"< 6.0.1 | ≥ 7.0.0, < 7.4.1","eol":null,"hubHref":"/vendor/fastify/fastify-multipart"},{"vendor":"@fastify","product":"multipart","name":"@fastify/multipart","label":"multipart","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@fastify/multipart","purlType":"npm","versions":[{"text":"< 6.0.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.0.1","endInclusive":false}},{"text":"≥ 7.0.0, < 7.4.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.0.0","startInclusive":true,"end":"7.4.1","endInclusive":false}}],"versionsText":"< 6.0.1 | ≥ 7.0.0, < 7.4.1","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/fastify/fastify-multipart/security/advisories/GHSA-hpp2-2cr5-pf6g","label":"github.com/fastify/fastify-multipart/security/advisories/GHSA-hpp2-2cr5-pf6g","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Third Party Advisory"]},{"url":"https://github.com/fastify/fastify-multipart/commit/85be81bedf5b29cfd9fe3efc30fb5a17173c1297","label":"github.com/fastify/fastify-multipart/commit/85be81bedf5b29cfd9fe3efc30fb5a17173c1297","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://hackerone.com/reports/1816195","label":"hackerone.com/reports/1816195","hostname":"hackerone.com","tags":["X Refsource MISC","WEB","Permissions Required","Third Party Advisory"]},{"url":"https://github.com/fastify/fastify-multipart/releases/tag/v6.0.1","label":"github.com/fastify/fastify-multipart/releases/tag/v6.0.1","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes","Third Party Advisory"]},{"url":"https://github.com/fastify/fastify-multipart/releases/tag/v7.4.1","label":"github.com/fastify/fastify-multipart/releases/tag/v7.4.1","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25576","label":"nvd.nist.gov/vuln/detail/CVE-2023-25576","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/fastify/fastify-multipart","label":"github.com/fastify/fastify-multipart","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-02-14T15:04:11.119Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-10T21:12:19.777Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)","nextStep":"Check applicability: affected before 6.0.1, 7.4.1 (CNA); fix release not confirmed","rank":[0,0,0,0,2,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.0153,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-03-10T21:12:19.777Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_npm","date":"2025-03-10T21:12:19.777Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2025-03-10T21:12:19.777Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-03-10T20:58:50.709Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.0153,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T09:01:26.874Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T09:01:27.430Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T09:01:27.610Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T09:01:02.756Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T09:01:25.188Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T09:01:24.136Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T09:56:16.619Z","stale":false,"partial":false}}