Allocation of Resources Without Limits or Throttling Affecting body-parser package, versions >=2.2.0 <2.2.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-BODYPARSER-14105059
  • published25 Nov 2025
  • disclosed24 Nov 2025
  • creditPhillip Barta

Introduced: 24 Nov 2025

NewCVE-2025-13466  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade body-parser to version 2.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to inefficient handling of URL-encoded bodies with a very large number of parameters. An attacker can cause elevated CPU and memory usage by sending payloads containing thousands of parameters within the default request size limit, potentially resulting in service slowdown or partial outages under sustained malicious traffic.

References

CVSS Base Scores

version 4.0
version 3.1