CVE-2021-20331

CVSS V2 Low 3.5 CVSS V3 Medium 4.9
Description
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.
Overview
  • CVE ID
  • CVE-2021-20331
  • Assigner
  • cna@mongodb.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-05-13T08:15:06
  • Last Modified Date
  • 2021-06-03T13:48:43
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:mongodb:c\#_driver:*:*:*:*:*:mongodb:*:* 1 OR 2.12.0 2.12.2
cpe:2.3:a:mongodb:c\#_driver:2.11.0:-:*:*:*:mongodb:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:S/C:P/I:N/A:N
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • SINGLE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • NONE
  • Availability Impact
  • NONE
  • Base Score
  • 3.5
  • Severity
  • LOW
  • Exploitability Score
  • 6.8
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • HIGH
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • NONE
  • Base Score
  • 4.9
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 1.2
  • Impact Score
  • 3.6
References
Reference URL Reference Tags
https://jira.mongodb.org/browse/CSHARP-3521 Issue Tracking Patch Vendor Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 16:13:46 Added to TrackCVE
2022-12-05 02:11:36 2021-05-13T08:15Z 2021-05-13T08:15:06 CVE Published Date updated
2022-12-05 02:11:36 2021-06-03T13:48:43 CVE Modified Date updated
2022-12-05 02:11:36 Analyzed Vulnerability Status updated