CVE-2021-20332: MongoDB Rust Driver
Medium severity, CVSS 4.4. EPSS: 0.3% chance of exploitation in the next 30 days.
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
- MongoDB Rust Driver: from 1.0.0, up to and including 1.2.1; version 2.0.0 only
Published 2021-08-02. Last modified 2026-06-17.