Allocation of Resources Without Limits or Throttling Affecting mongodb package, versions [4.0.28, 4.2.17-rc0)[4.4.0, 4.4.10-rc0)[5.0.0, 5.0.4-rc0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.03% (60th 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-UNMANAGED-MONGODB-14606786
  • published25 Dec 2025
  • disclosed24 Dec 2025
  • creditUnknown

Introduced: 24 Dec 2025

CVE-2021-32036  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade mongodb to version 4.2.17-rc0, 4.4.10-rc0, 5.0.4-rc0 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to lock contention in the features command. The command can be invoked repeatedly by an authenticated user without special privileges, and high-volume invocation can deplete resources or create severe lock contention. An attacker can exploit this by flooding the service with features requests, and in rare cases cause id field collisions.

CVSS Base Scores

version 4.0
version 3.1