Improper Input Validation Affecting mongodb package, versions [5.0.0, 5.0.25)[6.0.0, 6.0.14)[7.0.0, 7.0.6)[7.1.0, 7.2.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th 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-6854262
  • published16 May 2024
  • disclosed14 May 2024
  • creditJames Bronsted

Introduced: 14 May 2024

CVE-2024-3372  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade mongodb to version 5.0.25, 6.0.14, 7.0.6, 7.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation due to the server not correctly serializing BSON resulting in unexpected application behavior including unavailability of serverStatus responses. An attacker can cause a denial of service by sending invalid BSON.

CVSS Scores

version 3.1