All reports
Medium

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

Affected versions

Rust / Cargomongodb
Affected versions
>= 1.0.0, <= 2.0.0-alpha1
Fixed version
2.0.0-beta

Exploitation

CVE-2021-20332

Probability of exploitation in the next 30 days: 0.31%

FIRST EPSS · 2026-11-19

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.

Links

Credits

  • alex-semenyuk
  • richardfan0606