Information disclosure in MongoDB Rust Driver
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
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.2 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.003, 24.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- MongoDB Rust Driver — versions 2.0.0
- MongoDB Inc. Rust Driver — versions 2.0.0-alpha, 2.0.0-alpha1, 1.0.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Artisan-Lab/Rust-memory-safety-bugs). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- jira.mongodb.org/browse/RUST-591 (Patch, Vendor Advisory)