{"id":"GHSA-hpp2-2cr5-pf6g","summary":"Denial of service due to unlimited number of parts","details":"### 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.","aliases":["CVE-2023-25576"],"modified":"2023-11-08T04:11:52.480212Z","published":"2023-02-14T21:49:55Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2023-02-14T21:49:55Z","nvd_published_at":"2023-02-14T16:15:00Z","cwe_ids":["CWE-400","CWE-770"]},"references":[{"type":"WEB","url":"https://github.com/fastify/fastify-multipart/security/advisories/GHSA-hpp2-2cr5-pf6g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25576"},{"type":"WEB","url":"https://github.com/fastify/fastify-multipart/commit/85be81bedf5b29cfd9fe3efc30fb5a17173c1297"},{"type":"WEB","url":"https://hackerone.com/reports/1816195"},{"type":"PACKAGE","url":"https://github.com/fastify/fastify-multipart"},{"type":"WEB","url":"https://github.com/fastify/fastify-multipart/releases/tag/v6.0.1"},{"type":"WEB","url":"https://github.com/fastify/fastify-multipart/releases/tag/v7.4.1"}],"affected":[{"package":{"name":"@fastify/multipart","ecosystem":"npm","purl":"pkg:npm/%40fastify/multipart"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.0.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-hpp2-2cr5-pf6g/GHSA-hpp2-2cr5-pf6g.json"}},{"package":{"name":"@fastify/multipart","ecosystem":"npm","purl":"pkg:npm/%40fastify/multipart"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.0.0"},{"fixed":"7.4.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-hpp2-2cr5-pf6g/GHSA-hpp2-2cr5-pf6g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}