CVEfocus › CVE database › CVE-2024-45590

CVE-2024-45590body-parser vulnerable to denial of service when url encoding is enabled

CVSS 7.5 HighEPSS 1.4% (higher than 72% of CVEs)Published 2024-09-10Updated 2024-09-10Assigner: GitHub_M

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.

CWE-405

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
4Fix pending
2Under investigation
3Will not fix
14Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04node-body-parserNot affected
vulnerable_code_not_present
Ubuntu 25.10node-body-parserNot affected
vulnerable_code_not_present
Ubuntu 24.04node-body-parserUnder investigationUBUNTU-CVE-2024-45590
Ubuntu 22.04node-body-parserUnder investigationUBUNTU-CVE-2024-45590
Ubuntu 20.04node-body-parserFix pendingUBUNTU-CVE-2024-45590
Ubuntu 18.04node-body-parserFix pendingUBUNTU-CVE-2024-45590
Ubuntu 16.04node-body-parserFix pendingUBUNTU-CVE-2024-45590
Debian 14node-body-parserFixed1.20.3+~1.19.5-1DEBIAN-CVE-2024-45590
Debian 13node-body-parserFixed1.20.3+~1.19.5-1DEBIAN-CVE-2024-45590
Debian 12node-body-parserFix pendingDEBIAN-CVE-2024-45590
Red Hat Enterprise Linux 9gjsNot affected
Red Hat Enterprise Linux 9gjs-develNot affected
Red Hat Enterprise Linux 9pcsNot affected
Red Hat Enterprise Linux 9pcs-snmpNot affected
Red Hat Enterprise Linux 9polkitNot affected
Red Hat Enterprise Linux 9polkit-develNot affected
Red Hat Enterprise Linux 9polkit-docsNot affected
Red Hat Enterprise Linux 9polkit-libsNot affected
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 8mozjs60-develNot affected
Red Hat Enterprise Linux 8pcsNot affected
Red Hat Enterprise Linux 8pcs-snmpNot affected
Red Hat Enterprise Linux 7thunderbirdWill not fix
Out of support scope
Red Hat Enterprise Linux 6firefoxWill not fix
Will not fix
Red Hat Enterprise Linux 6thunderbirdWill not fix
Out of support scope
npm librarybody-parserFixed1.20.3GHSA-qwcr-r2fm-qrc7

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.