Vulnerability · Published Aug 2, 2021 · Assigned by mongodb

CVE-2021-20332MongoDB Rust Driver may publish events containing authentication-related data to a connection pool event listener configured by an application

Medium 4.2

In plain English

A medium-severity information exposure in MongoDB Rust Driver from MongoDB Inc.. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities).

Severity (CVSS 3.1)4.2Medium
Exploit odds (30 days)0.3%top 76.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Specific MongoDB Rust Driver versions can include credentials used by the connection pool to authenticate connections in the monitoring event that is emitted when the pool is created. The user's logging infrastructure could then potentially ingest these events and unexpectedly leak the credentials. Note that such monitoring is not enabled by default. This issue affects MongoDB Rust Driver version 2.0.0-alpha, MongoDB Rust Driver version 2.0.0-alpha1 and MongoDB Rust Driver version 1.0.0 through to and including 1.2.1

Affected products (as reported)

VendorProductVersions
MongoDB Inc. MongoDB Rust Driver 2.0.0-alpha2.0.0-alpha11.0.0 – through 1.2.1

Weakness: CWE-200 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N

References