{"answers":{"affected":"2 open source packages ship an affected version, including body-parser. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-45590 in the wild and no public exploit code.","fix":"Upgrade body-parser to 1.20.3 or later.","what":"CVE-2024-45590 is a high-severity vulnerability in expressjs body-parser, published on 10 Sep 2024."},"fix_prompt":"Check this codebase for CVE-2024-45590 and fix it if it is affected.\n\nWhat it is: CVE-2024-45590 is a high-severity vulnerability in expressjs body-parser, published on 10 Sep 2024. \nExploitation: There is no known exploitation of CVE-2024-45590 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- body-parser (npm): affected all versions; fixed in 1.20.3\n- body-parser (npm): affected all versions; fixed in 1.20.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-45590/ (Markdown: https://insights.sbomify.com/CVE-2024-45590/index.md)","id":"CVE-2024-45590","markdown":"https://insights.sbomify.com/CVE-2024-45590/index.md","name":"CVE-2024-45590","record":{"aliases":["AZL-49071","AZL-49097","AZL-49126","AZL-49149","CLSA-2026-1772583201","CLSA-2026-1773793044","CLSA-2026-1774225187","CLSA-2026-1782262676","CLSA-2026-1782262677","CLSA-2026-1782262678","CLSA-2026-1784596340","CLSA-2026-1792586687","DEBIAN-CVE-2024-45590","GHSA-qwcr-r2fm-qrc7","MINI-6jm6-9gcj-x7g5","ROOT-APP-NPM-CVE-2024-45590","UBUNTU-CVE-2024-45590"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"body-parser","vendor":"openjsf"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-405","name":"Asymmetric Resource Consumption (Amplification)"}],"description":"body-parser is Node.js body parsing middleware. body-parser \u003c1.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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2025-09-02","github_poc":2,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-09-02T06:47:34Z","kind":"github_poc","ref":"https://github.com/dhruvik-git/CVE-2024-45590","stars":1,"title":"Exploit for CVE-2024-45590"},{"date":"2026-02-04T18:13:23Z","kind":"github_poc","ref":"https://github.com/Evillm/CVE-2024-45590-PoC","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"body-parser vulnerable to denial of service when url encoding is enabled","id":"CVE-2024-45590","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2024"},"n_packages":2,"n_references":2,"next":{"headline":"XWiki Platform document history including authors of any page exposed to unauthorized actors","id":"CVE-2024-45591"},"packages":[{"ecosystem":"npm","fixed":["1.20.3"],"introduced":["0"],"last_affected":[],"package":"body-parser","purl":null,"source":"GHSA-qwcr-r2fm-qrc7"},{"ecosystem":"npm","fixed":["1.20.3"],"introduced":["0"],"last_affected":[],"package":"body-parser","purl":"pkg:npm/body-parser","source":"GHSA-qwcr-r2fm-qrc7"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2024-45589"},"products":["body-parser"],"published":"2024-09-10","related":[{"cvss_score":3.7,"headline":"body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement","id":"CVE-2026-12590","kev_date_added":null,"published":"2026-07-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-10","vendors":["expressjs"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2024-45590/"}