VYPR
Medium severity4.2NVD Advisory· Published Aug 2, 2021· Updated Jun 17, 2026

CVE-2021-20332

CVE-2021-20332

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. 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

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
mongodbcrates.io
>= 1.0.0, < 2.0.0-beta2.0.0-beta

Affected products

5
  • cpe:2.3:a:mongodb:rust_driver:*:*:*:*:*:mongodb:*:*+ 2 more
    • cpe:2.3:a:mongodb:rust_driver:*:*:*:*:*:mongodb:*:*range: >=1.0.0,<=1.2.1
    • cpe:2.3:a:mongodb:rust_driver:2.0.0:alpha1:*:*:*:mongodb:*:*
    • cpe:2.3:a:mongodb:rust_driver:2.0.0:alpha:*:*:*:mongodb:*:*
  • ghsa-coords
    Range: >= 1.0.0, < 2.0.0-beta
  • Range: 2.0.0-alpha

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.