CVE & CISA-KEV Catalog

CVE-2021-20331

MEDIUM
4.2
CVSS v3
NVD

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.

How to fix

Remediation Available
c\# driverNVD
Affected:>= 2.12.0, < 2.12.2Fixed in:2.12.2CVE-2021-20331derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredHigh
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N

Exploit Intelligence

0.62%probability of exploitation in 30 days
46thpercentile

Moderate risk: more likely to be exploited than 46% of all known CVEs.

References

Related Vulnerabilities

Other CWE-200 (Information Exposure) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-24919High8.6100%KEV + Ransom-
CVE-2020-14181Medium5.3100%-Fix
CVE-2021-34429Medium5.399%-Fix
CVE-2018-11409Medium5.398%--
CVE-2021-41277Critical10.097%KEV-
CVE-2016-2183High7.596%-Fix
Embed a live status badge for CVE-2021-20331
CVE-2021-20331 severity badge

Markdown

[![CVE-2021-20331](https://tridentstack.com/cve/badge/CVE-2021-20331.svg)](https://tridentstack.com/cve/CVE-2021-20331)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-20331"><img src="https://tridentstack.com/cve/badge/CVE-2021-20331.svg" alt="CVE-2021-20331"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.