CVE-2021-20331
MongoDB C# Driver Command Listener Authentication Data Exposured
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 v2.12 versions prior to and including 2.12.1.
INFO
Published Date :
May 13, 2021, 8:15 a.m.
Last Modified :
Nov. 21, 2024, 5:46 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
1.2
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-20331
.
URL | Resource |
---|---|
https://jira.mongodb.org/browse/CSHARP-3521 | Issue Tracking Patch Vendor Advisory |
https://jira.mongodb.org/browse/CSHARP-3521 | Issue Tracking Patch Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-20331
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-20331
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://jira.mongodb.org/browse/CSHARP-3521 -
CVE Modified by [email protected]
Sep. 16, 2024
Action Type Old Value New Value Changed 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 v2.12 versions prior to and including 2.12.1. 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. -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Jan. 23, 2024
Action Type Old Value New Value Changed 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. 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. -
Reanalysis by [email protected]
Jun. 03, 2021
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:mongodb:c\#_driver:2.11.0:*:*:*:*:*:*:* *cpe:2.3:a:mongodb:c\#_driver:*:*:*:*:*:*:*:* versions from (including) 2.12.0 up to (excluding) 2.12.2 OR *cpe:2.3:a:mongodb:c\#_driver:2.11.0:-:*:*:*:mongodb:*:* *cpe:2.3:a:mongodb:c\#_driver:*:*:*:*:*:mongodb:*:* versions from (including) 2.12.0 up to (excluding) 2.12.2 -
Initial Analysis by [email protected]
May. 25, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://jira.mongodb.org/browse/CSHARP-3521 No Types Assigned https://jira.mongodb.org/browse/CSHARP-3521 Issue Tracking, Patch, Vendor Advisory Added CWE NIST CWE-200 Added CPE Configuration OR *cpe:2.3:a:mongodb:c\#_driver:2.11.0:*:*:*:*:*:*:* *cpe:2.3:a:mongodb:c\#_driver:*:*:*:*:*:*:*:* versions from (including) 2.12.0 up to (excluding) 2.12.2
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-20331
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-20331
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.06 }} 0.00%
score
0.26415
percentile