{"id":"CVE-2021-23597","aliases":["CVE-2021-23597","GHSA-qh73-qc3p-rjv2","SNYK-JS-FASTIFYMULTIPART-2395480"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of Service (DoS)","summary":"This affects the package fastify-multipart before 5.3.1. By providing a name=constructor property it is still possible to crash the application. **Note:** This is a bypass of CVE-2020-8136 (https://security.snyk.io/vuln/SNYK-JS-FASTIFYMULTIPART-1290382).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This affects the package fastify-multipart before 5.3.1. By providing a name=constructor property it is still possible to crash the application. **Note:** This is a bypass of CVE-2020-8136 (https://security.snyk.io/vuln/SNYK-JS-FASTIFYMULTIPART-1290382).","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThis is a bypass of CVE-2020-8136 (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8136).\nBy providing a `name=constructor` property it is still possible to crash the application.\nThe original fix only checks for the key `__proto__` (https://github.com/fastify/fastify-multipart/pull/116).\n\nAll users are recommended to upgrade\n\n### Patches\n\nv5.3.1 includes a patch\n \n### Workarounds\n\nNo workarounds are possible.\n\n### References\n\nRead up https://www.fastify.io/docs/latest/Guides/Prototype-Poisoning/\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [https://github.com/fastify/fastify-multipart](https://github.com/fastify/fastify-multipart)\n* Email us at [hello@matteocollina.com](mailto:hello@matteocollina.com)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Esto afecta al paquete fastify-multipart versiones anteriores a 5.3.1. Proporcionando una propiedad name=constructor todavía es posible bloquear la aplicación. **Nota:** Esto es una omisión de CVE-2020-8136 (https://security.snyk.io/vuln/SNYK-JS-FASTIFYMULTIPART-1290382)","source":"nvd"}],"published":"2022-02-11T17:05:13.098Z","modified":"2026-07-08T06:49:37.595Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","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"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-1321"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"5.3.1","status":"affected"}],"product":"fastify-multipart","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.3.1"}],"ecosystem":"npm","package":"fastify-multipart","purl":"pkg:npm/fastify-multipart","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.3.1"}],"vendor":"fastify","product":"fastify-multipart","cpe":"cpe:2.3:a:fastify:fastify-multipart:*:*:*:*:*:fastify:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-FASTIFYMULTIPART-2395480","tags":["exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/fastify/fastify-multipart/commit/a70dc7059a794589bd4fe066453141fc609e6066","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/fastify/fastify-multipart/releases/tag/v5.3.1","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/fastify/fastify-multipart/security/advisories/GHSA-qh73-qc3p-rjv2","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23597","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/fastify/fastify-multipart/pull/116","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/fastify/fastify-multipart","tags":["web"],"sources":["ghsa"]},{"url":"https://www.fastify.io/docs/latest/Guides/Prototype-Poisoning","tags":["web"],"sources":["ghsa"]}],"credits":["Alessio Della Libera of Snyk Research Team"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23597","url":"https://www.cve.org/CVERecord?id=CVE-2021-23597","licence":"CVE Terms of Use","modified":"2024-09-16T16:58:20.158Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qh73-qc3p-rjv2","url":"https://github.com/advisories/GHSA-qh73-qc3p-rjv2","licence":"CC-BY-4.0","modified":"2026-07-08T06:49:37.595Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23597","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23597","licence":"Public domain","modified":"2026-06-17T03:38:50.523Z"}],"updatedAt":"2026-11-25T22:58:06.937Z","epss":{"score":0.0203,"percentile":0.81605,"date":"2026-12-01T12:00:22.000Z"}}