Uncontrolled Recursion Affecting mongodb package, versions [6.0.0, 6.0.21)[7.0.0, 7.0.17)[8.0.0, 8.0.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (23rd 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 IDSNYK-UNMANAGED-MONGODB-14619160
  • published29 Dec 2025
  • disclosed26 Jun 2025
  • creditUnknown

Introduced: 26 Jun 2025

CVE-2025-6710  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade mongodb to version 6.0.21, 7.0.17, 8.0.5 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion in the JSON parsing mechanism. An attacker can exploit this to cause the server process to terminate.

Note: In some affected versions this can be exploited without authentication, while in others authentication is required.

CVSS Base Scores

version 4.0
version 3.1