Information Exposure Affecting mongodb package, versions >=3.6.0 <3.6.10 >=4.0.0 <4.17.0 >=5.0.0 <5.8.0


0.0
medium

Snyk CVSS

    Attack Complexity Low
    Privileges Required High
    User Interaction Required
    Confidentiality High

    Threat Intelligence

    EPSS 0.07% (31st percentile)
Expand this section
NVD
7.5 high

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-JS-MONGODB-5871303
  • published 30 Aug 2023
  • disclosed 29 Aug 2023
  • credit Daria Pardue, Kevin Albertson, Wan Bachtiar

How to fix?

Upgrade mongodb to version 3.6.10, 4.17.0, 5.8.0 or higher.

Overview

mongodb is an official MongoDB driver for Node.js.

Affected versions of this package are vulnerable to Information Exposure via the command listener feature. When it is enabled (not the default setting), some drivers may inadvertently publish events containing sensitive authentication-related data. An attacker can gain access to this sensitive information by monitoring these published events.