{"id":"CVE-2023-25576","published":"2023-02-14T15:04:11Z","modified":"2025-03-10T21:12:19Z","title":"@fastify/multipart vulnerable to DoS due to unlimited number of parts","vendor":"fastify","product":"fastify-multipart","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"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.01463,"percentile":0.74258,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/fastify/fastify-multipart/security/advisories/GHSA-hpp2-2cr5-pf6g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/fastify/fastify-multipart/commit/85be81bedf5b29cfd9fe3efc30fb5a17173c1297","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/1816195","tags":["x_refsource_MISC"]},{"url":"https://github.com/fastify/fastify-multipart/releases/tag/v6.0.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/fastify/fastify-multipart/releases/tag/v7.4.1","tags":["x_refsource_MISC"]}],"priority":{"score":20.1,"factors":[{"name":"EPSS percentile","points":14.85},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"fastify","affectedVersions":[{"vendor":"fastify","product":"fastify-multipart","versions":["< 6.0.1",">= 7.0.0, < 7.4.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-10T20:58:50.709269Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@fastify/multipart","vulnerableRanges":["<6.0.1",">=7.0.0, <7.4.1"],"patched":["6.0.1","7.4.1"],"from":["GHSA-hpp2-2cr5-pf6g"],"provenance":"source"}],"summary":{"text":"The @fastify/multipart plugin for Fastify, which parses multipart request bodies, accepts an unlimited number of file parts, field parts, and empty parts treated as fields, allowing resource exhaustion. An unauthenticated remote attacker with network access can send a crafted multipart request to any endpoint using this parser to cause a denial of service, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:18Z"},"euvd":{"id":"EUVD-2023-0723","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-fastify-multipart-cve-2020-8136","parents":[{"from":"CVE-2021-23597","to":"CVE-2023-25576","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/fastify/fastify-multipart/commit/a70dc7059a794589bd4fe066453141fc609e6066","https://github.com/fastify/fastify-multipart/commit/85be81bedf5b29cfd9fe3efc30fb5a17173c1297"],"basis":"shared function","functions":["fastifyMultipart"]}]}]}}