GHSA-wqch-xfxh-vrr4

body-parser is vulnerable to denial of service when url encoding is used

En bref

Publiée
Mise à jour
CVE
CVE-2025-13466
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/E:P

Description

### Impact 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. ### Patches This issue is addressed in version 2.2.1.

Paquets affectés

PaquetVersions
npm · body-parserintroduced 2.2.0, fixed 2.2.1

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database