{"id":"CVE-2024-45590","published":"2024-09-10T15:54:02Z","modified":"2024-09-10T18:47:22Z","title":"body-parser vulnerable to denial of service when url encoding is enabled","vendor":"expressjs","product":"body-parser","tier":"tail","description":{"text":"body-parser is Node.js body parsing middleware. body-parser <1.20.3 is vulnerable to denial of service when url encoding is enabled. A malicious actor using a specially crafted payload could flood the server with a large number of requests, resulting in denial of service. This issue is patched in 1.20.3.","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.01352,"percentile":0.71652,"provenance":"source"},"cwes":[{"id":"CWE-405","name":"Asymmetric Resource Consumption (Amplification)"}],"references":[{"url":"https://github.com/expressjs/body-parser/security/advisories/GHSA-qwcr-r2fm-qrc7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/expressjs/body-parser/commit/b2695c4450f06ba3b0ccf48d872a229bb41c9bce","tags":["x_refsource_MISC"]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":14.33},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":1,"earliest":"2025-09-02","earliestUrl":"https://github.com/dhruvik-git/CVE-2024-45590","repos":[{"name":"dhruvik-git/CVE-2024-45590","url":"https://github.com/dhruvik-git/CVE-2024-45590","stars":1,"created":"2025-09-02"}]},"first":{"date":"2025-09-02","source":"PoC-in-GitHub","url":"https://github.com/dhruvik-git/CVE-2024-45590"},"provenance":"source"},"vendorSlug":"expressjs","affectedVersions":[{"vendor":"expressjs","product":"body-parser","versions":["< 1.20.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-09-10T18:42:41.773305Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"body-parser","vulnerableRanges":["<1.20.3"],"patched":["1.20.3"],"from":["GHSA-qwcr-r2fm-qrc7"],"provenance":"source"}],"summary":{"text":"The body-parser middleware for Node.js, a component of the expressjs product, is vulnerable to denial of service in versions before 1.20.3 when URL encoding is enabled. An unauthenticated remote attacker can exploit this over the network without user interaction by sending specially crafted payloads that flood the server with a large number of requests, exhausting its resources and making it unavailable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:57:30Z"},"euvd":{"id":"EUVD-2024-2860","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-body-parser-cve-2024-45590","children":[{"from":"CVE-2024-45590","to":"CVE-2026-12590","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:body-parser","fromFixed":"1.20.3","toFixed":"1.20.6","daysApart":667},{"kind":"same-code","provenance":"machine","files":["lib/types/urlencoded.js"],"commits":["https://github.com/expressjs/body-parser/commit/b2695c4450f06ba3b0ccf48d872a229bb41c9bce","https://github.com/expressjs/body-parser/commit/2322e111cc321413ec2b7b76d01be533d3de9d7d","https://github.com/expressjs/body-parser/commit/3492672eee593d5c158f239b6e9115498a5dbeac"],"basis":"shared function","functions":["urlencoded"]}]},{"from":"CVE-2024-45590","to":"CVE-2025-13466","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/types/urlencoded.js"],"commits":["https://github.com/expressjs/body-parser/commit/b2695c4450f06ba3b0ccf48d872a229bb41c9bce","https://github.com/expressjs/body-parser/commit/b204886a6744b0b6d297cd0e849d75de836f3b63"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-45590","published":"2024-09-10","fixed":"1.20.3","kev":false},{"cve":"CVE-2025-13466","published":"2025-11-24","fixed":"2.2.1","kev":false},{"cve":"CVE-2026-12590","published":"2026-07-09","fixed":"2.3.0","kev":false},{"cve":"CVE-2026-111181","published":"2026-10-22","fixed":"2.4.0","kev":false}],"package":"npm:body-parser"}}