CVE-2021-20331
Last modified
CVE-2021-20331 is a medium-severity vulnerability rated 4.9/10 on the CVSS scale. 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. EPSS estimates a 0.62% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mongodb | C\# Driver | >= 2.12.0, < 2.12.2 |
| Mongodb | C\# Driver | 2.11.0 |
References
- https://jira.mongodb.org/browse/CSHARP-3521Issue Tracking, Patch, Vendor Advisory
- https://jira.mongodb.org/browse/CSHARP-3521Issue Tracking, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-20331?
How severe is CVE-2021-20331?
How do I fix CVE-2021-20331?
Are you affected by CVE-2021-20331?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
