{"id":"CVE-2023-25576","aliases":["CVE-2023-25576","GHSA-hpp2-2cr5-pf6g"],"related":[],"kind":"vulnerability","state":"published","title":"@fastify/multipart vulnerable to DoS due to unlimited number of parts","summary":"@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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"@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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\n* The multipart body parser accepts an unlimited number of file parts.\n* The multipart body parser accepts an unlimited number of field parts.\n* The multipart body parser accepts an unlimited number of empty parts as field\nparts.\n\n\n### Patches\n\nThis is fixed in v7.4.1 (for Fastify v4.x) and v6.0.1 (for Fastify v3.x).\n\n### Workarounds\n\nThere are no known workaround.  \n\n### References\n\nReported at https://hackerone.com/reports/1816195.","format":"markdown","source":"ghsa"}],"published":"2023-02-14T15:04:11.119Z","modified":"2026-06-17T05:41:31.707Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"version":"< 6.0.1","status":"affected"},{"version":">= 7.0.0, < 7.4.1","status":"affected"}],"vendor":"fastify","product":"fastify-multipart","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.0.1"}],"ecosystem":"npm","package":"@fastify/multipart","purl":"pkg:npm/%40fastify/multipart","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.4.1"}],"ecosystem":"npm","package":"@fastify/multipart","purl":"pkg:npm/%40fastify/multipart","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"6.0.1"},{"status":"affected","introduced":"7.0.0","fixed":"7.4.1"}],"vendor":"fastify","product":"fastify-multipart","cpe":"cpe:2.3:a:fastify:fastify-multipart:*:*:*:*:*:fastify:*:*","source":"nvd"}],"references":[{"url":"https://github.com/fastify/fastify-multipart/security/advisories/GHSA-hpp2-2cr5-pf6g","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/fastify/fastify-multipart/commit/85be81bedf5b29cfd9fe3efc30fb5a17173c1297","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://hackerone.com/reports/1816195","tags":["permissions-required","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/fastify/fastify-multipart/releases/tag/v6.0.1","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/fastify/fastify-multipart/releases/tag/v7.4.1","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25576","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/fastify/fastify-multipart","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-03-10T20:58:50.709Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-25576","url":"https://www.cve.org/CVERecord?id=CVE-2023-25576","licence":"CVE Terms of Use","modified":"2025-03-10T21:12:19.777Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hpp2-2cr5-pf6g","url":"https://github.com/advisories/GHSA-hpp2-2cr5-pf6g","licence":"CC-BY-4.0","modified":"2023-11-08T04:11:52.480Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-25576","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25576","licence":"Public domain","modified":"2026-06-17T05:41:31.707Z"}],"updatedAt":"2026-11-25T22:58:21.982Z","epss":{"score":0.0153,"percentile":0.75492,"date":"2026-12-01T12:00:22.000Z"}}