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

    Threat Intelligence

    EPSS
    0.04% (10th 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 ID SNYK-UNMANAGED-MONGODB-6854262
  • published 16 May 2024
  • disclosed 14 May 2024
  • credit James Bronsted

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
Expand this section

Snyk

7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High