CVE-2024-45590
JSON

7.5high

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

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.96% (higher than 62% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-qwcr-r2fm-qrc7

Description

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.

Affected

Product or packageVersionsReported by
expressjs body-parser< 1.20.3, before 1.20.3CVE List
body-parser (npm)before 1.20.3GitHub Advisory Database
openjsf body-parserbefore 1.20.3NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-405

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Impact

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.

Patches

this issue is patched in 1.20.3

References
NVD (es)

body-parser es un middleware de análisis de cuerpo de Node.js. body-parser en versiones anteriores a la 1.20.3 es vulnerable a la denegación de servicio cuando la codificación de URL está habilitada. Un actor malintencionado que utilice un payload especialmente manipulado podría inundar el servidor con una gran cantidad de solicitudes, lo que provocaría una denegación de servicio. Este problema se solucionó en la versión 1.20.3.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-45590 changed 2024-09-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-qwcr-r2fm-qrc7 changed 2026-09-10CC-BY-4.0
NVDCVE-2024-45590 changed 2026-06-17Public domain