CVE-2021-32050

Summary

CVECVE-2021-32050
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-08-29 16:15:00 UTC
Updated2023-10-06 15:15:00 UTC
DescriptionSome 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).

Risk And Classification

Problem Types: CWE-532

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Mongodb C All All All All
Application Mongodb C Driver All All All All
Application Mongodb Node.js All All All All
Application Mongodb Php Driver All All All All
Application Mongodb Swift Driver All All All All

References

ReferenceSourceLinkTags
[NODE-3356] Node driver should redact security-sensitive commands - MongoDB Jira MISC jira.mongodb.org
[CXX-2028] Explicit write concern is incorrectly applied to collection::find_one_and_* methods - MongoDB Jira MISC jira.mongodb.org
[PHPC-1869] Redact sensitive commands from command monitoring - MongoDB Jira MISC jira.mongodb.org
CVE-2021-32050 MongoDB Drivers Vulnerability in NetApp Products | NetApp Product Security MISC security.netapp.com
[CDRIVER-3797] Redact sensitive commands from command monitoring - MongoDB Jira MISC jira.mongodb.org
System Dashboard - MongoDB Jira MISC jira.mongodb.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report