body-parser vulnerable to denial of service when url encoding is used
Summary
body-parser vulnerable to denial of service when url encoding is used
Original description
The description as published by the source.
body-parser 2.2.0 is vulnerable to denial of service due to inefficient handling of URL-encoded bodies with very large numbers of parameters. An attacker can send payloads containing thousands of parameters within the default 100KB request size limit, causing elevated CPU and memory usage. This can lead to service slowdown or partial outages under sustained malicious traffic.
This issue is addressed in version 2.2.1.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2025-13466 node-body-parser Fixed in: 2.2.1+~1.19.6-1
- Ubuntu UBUNTU-CVE-2025-13466 node-body-parser
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com