CVE-2021-32050

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

HIGH
7.5
CVSS Score
Published: August 29, 2023 at 03:24 PM UTC
Updated: June 17, 2026 at 03:52 AM UTC
5 products affected across 1 vendorC++ DriverPHP DriverNode.js

Using MongoDB C Driver by MongoDB Inc?

Get instant alerts when new vulnerabilities affect MongoDB C Driver - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

Description

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).

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

1.0.0 ≤ v < 1.17.7
Affected range stops below 1.17.7, so it looks safe — our inference, not a vendor statement
1.0.0 ≤ v < 1.17.73.0.0 ≤ v < 3.7.01.0.03.0.0
Affected range stops below 1.17.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.7.0, so it looks safe — our inference, not a vendor statement
3.6 ≤ v < 3.6.104.0 ≤ v < 4.17.05.0 ≤ v < 5.8.03.64.05.0
Affected range stops below 3.6.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.17.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.8.0, so it looks safe — our inference, not a vendor statement
1.0.0 ≤ v < 1.9.21.0.0
Affected range stops below 1.9.2, so it looks safe — our inference, not a vendor statement
1.0.0 ≤ v < 1.1.11.0.0
Affected range stops below 1.1.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-200CWE-532

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card