ADVISORIES

GitHub Advisory Database

GHSA-4rjr-3gj2-5crq

Exposure of Sensitive Information to an Unauthorized Actor in MongoDB Rust Driver

Moderate CVE-2021-20332

Details

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.

Affected packages

EcosystemPackageAffected versions
crates.iomongodb
From 1.0.0 before 2.0.0-beta (fixed in 2.0.0-beta)

References