Improper Validation of Consistency within Input Affecting mongodb package, versions [6.0.0-alpha, 6.0.17-rc0)[7.0.0-alpha, 7.0.13-rc0)[7.3.0-alpha, 7.3.4-rc0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.59% (45th 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-14606797
  • published29 Dec 2025
  • disclosed21 Oct 2024
  • creditUnknown

Introduced: 21 Oct 2024

CVE-2024-8305  (opens in a new tab)
CWE-1288  (opens in a new tab)

How to fix?

Upgrade mongodb to version 6.0.17-rc0, 7.0.13-rc0, 7.3.4-rc0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Consistency within Input involving unique index constraints on secondary nodes, when using the prepareUnique index operation. An attacker can exploit this to cause repeated crashes across multiple secondary nodes.

CVSS Base Scores

version 4.0
version 3.1