NetSight
medium4.4

CVE-2021-20332

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

Impact

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

EcosystemPackageAffectedFixed in
rustmongodb>= 1.0.0, <= 2.0.0-alpha12.0.0-beta

Affected products

VendorProductAffected versions
MongodbRust Driver
from 1.0.0 through 1.2.1
Version 2.0.0

Weakness classification

References