CVE-2021-20332

MEDIUM

MongoDB Rust Driver <2.0.0 - Info Disclosure

Title source: llm
STIX 2.1

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

References (1)

Core 1
Core References
Patch, Vendor Advisory x_refsource_misc
https://jira.mongodb.org/browse/RUST-591

Scores

CVSS v3 4.2
EPSS 0.0031
EPSS Percentile 22.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-200
Status published
Products (3)
crates.io/mongodb 1.0.0 - 2.0.0-betacrates.io
mongodb/rust_driver 2.0.0 alpha (2 CPE variants)
mongodb/rust_driver 1.0.0 - 1.2.1
Published Aug 02, 2021
Tracked Since Feb 18, 2026