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

4.4MEDIUM

Key Information:

Vendor

MongoDB

Vendor
CVE Published:
2 August 2021

What is CVE-2021-20332?

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 Version(s)

MongoDB Rust Driver 2.0.0-alpha

MongoDB Rust Driver 2.0.0-alpha1

MongoDB Rust Driver 1.0.0 <= 1.2.1

References

CVSS V3.1

Score:
4.4
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

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