// For flags

CVE-2021-32050

Some MongoDB Drivers may publish events containing authentication-related data to a command listener configured by an application

Severity Score

7.5
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track
*SSVC
Descriptions

Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener configured by an application. The published events may contain security-sensitive data when specific authentication-related commands are executed.

Without due care, an application may inadvertently expose this sensitive information, e.g., by writing it to a log file. This issue only arises if an application enables the command listener feature (this is not enabled by default).

This issue affects the MongoDB C Driver 1.0.0 prior to 1.17.7, MongoDB PHP Driver 1.0.0 prior to 1.9.2, MongoDB Swift Driver 1.0.0 prior to 1.1.1, MongoDB Node.js Driver 3.6 prior to 3.6.10, MongoDB Node.js Driver 4.0 prior to 4.17.0 and MongoDB Node.js Driver 5.0 prior to 5.8.0. This issue also affects users of the MongoDB C++ Driver dependent on the C driver 1.0.0 prior to 1.17.7 (C++ driver prior to 3.7.0).

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:Track
Exploitation
None
Automatable
No
Tech. Impact
Partial
* Organization's Worst-case Scenario
Timeline
  • 2021-05-05 CVE Reserved
  • 2023-08-29 CVE Published
  • 2024-09-30 CVE Updated
  • 2024-09-30 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-532: Insertion of Sensitive Information into Log File
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Mongodb
Search vendor "Mongodb"
C\+\+
Search vendor "Mongodb" for product "C\+\+"
>= 1.0.0 < 1.17.7
Search vendor "Mongodb" for product "C\+\+" and version " >= 1.0.0 < 1.17.7"
mongodb
Affected
Mongodb
Search vendor "Mongodb"
C Driver
Search vendor "Mongodb" for product "C Driver"
>= 1.0.0 < 1.17.7
Search vendor "Mongodb" for product "C Driver" and version " >= 1.0.0 < 1.17.7"
mongodb
Affected
Mongodb
Search vendor "Mongodb"
Node.js
Search vendor "Mongodb" for product "Node.js"
>= 3.6 < 3.6.10
Search vendor "Mongodb" for product "Node.js" and version " >= 3.6 < 3.6.10"
mongodb
Affected
Mongodb
Search vendor "Mongodb"
Node.js
Search vendor "Mongodb" for product "Node.js"
>= 4.0 < 4.17.0
Search vendor "Mongodb" for product "Node.js" and version " >= 4.0 < 4.17.0"
mongodb
Affected
Mongodb
Search vendor "Mongodb"
Node.js
Search vendor "Mongodb" for product "Node.js"
>= 5.0 < 5.8.0
Search vendor "Mongodb" for product "Node.js" and version " >= 5.0 < 5.8.0"
mongodb
Affected
Mongodb
Search vendor "Mongodb"
Php Driver
Search vendor "Mongodb" for product "Php Driver"
>= 1.0.0 < 1.9.2
Search vendor "Mongodb" for product "Php Driver" and version " >= 1.0.0 < 1.9.2"
mongodb
Affected
Mongodb
Search vendor "Mongodb"
Swift Driver
Search vendor "Mongodb" for product "Swift Driver"
>= 1.0.0 < 1.1.1
Search vendor "Mongodb" for product "Swift Driver" and version " >= 1.0.0 < 1.1.1"
mongodb
Affected