4.9

CVE-2021-20331: mongodb inc mongodb c driver

CVSS: 4.9v3.1MediumModified
AliasesGHSA-p9rv-qgqw-jx2w
Published 13-05-2021Last modified 16-09-2024

Vulnerability summary

CVE-2021-20331 is a medium (CVSS 4.9) vulnerability in mongodb inc mongodb c driver. EPSS estimates a 0.62% chance of exploitation in the next 30 days, higher than 48.9% of scored vulnerabilities.

Overall risk
20/100
0100
Low · default modelHow is this calculated?
CVSS score
4.9/10
010
Medium · v3.1 (NVD)
EPSS score
0.62%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 13-05-2021
    PublishedVulnerability first disclosed.
  2. 16-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.62%

Chance of exploitation in the next 30 days

Percentile

49%

Versus all other CVEs

30-day change

0.00 pp

From 0.62% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.62%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Mongodb1 product
Mongodb inc1 product
NuGet1 product
  • MongoDB.Driver≥ 2.11.0, < 2.12.2

3 vendors · 3 products

References

3 links