CVE-2021-20331

Specific versions of the MongoDB C# Driver 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 commands such as "saslStart", "saslContinue", "isMaster", "createUser", and "updateUser" are executed. Without due care, an application may inadvertently expose this authenticated-related 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 v2.12 versions prior to and including 2.12.1.
References
Link Resource
https://jira.mongodb.org/browse/CSHARP-3521 Issue Tracking Patch Vendor Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:mongodb:c\#_driver:*:*:*:*:*:mongodb:*:*
cpe:2.3:a:mongodb:c\#_driver:2.11.0:-:*:*:*:mongodb:*:*

History

23 Jan 2024, 17:15

Type Values Removed Values Added
Summary (en) Specific versions of the MongoDB C# Driver 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 commands such as "saslStart", "saslContinue", "isMaster", "createUser", and "updateUser" are executed. Without due care, an application may inadvertently expose this authenticated-related 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 2.12 <= 2.12.1. (en) Specific versions of the MongoDB C# Driver 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 commands such as "saslStart", "saslContinue", "isMaster", "createUser", and "updateUser" are executed. Without due care, an application may inadvertently expose this authenticated-related 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 v2.12 versions prior to and including 2.12.1.

03 Jun 2021, 13:48

Type Values Removed Values Added
CPE cpe:2.3:a:mongodb:c\#_driver:2.11.0:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:c\#_driver:*:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:c\#_driver:*:*:*:*:*:mongodb:*:*
cpe:2.3:a:mongodb:c\#_driver:2.11.0:-:*:*:*:mongodb:*:*

25 May 2021, 13:38

Type Values Removed Values Added
References (CONFIRM) https://jira.mongodb.org/browse/CSHARP-3521 - (CONFIRM) https://jira.mongodb.org/browse/CSHARP-3521 - Issue Tracking, Patch, Vendor Advisory
CWE CWE-200
CPE cpe:2.3:a:mongodb:c\#_driver:*:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:c\#_driver:2.11.0:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 3.5
v3 : 4.9

13 May 2021, 08:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-05-13 08:15

Updated : 2024-01-23 17:15


NVD link : CVE-2021-20331

Mitre link : CVE-2021-20331

CVE.ORG link : CVE-2021-20331


JSON object : View

Products Affected

mongodb

  • c\#_driver
CWE
CWE-200

Exposure of Sensitive Information to an Unauthorized Actor