Moderate severityNVD Advisory· Published Aug 2, 2021· Updated Sep 17, 2024
MongoDB Rust Driver may publish events containing authentication-related data to a connection pool event listener configured by an application
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.
| Package | Affected versions | Patched versions |
|---|---|---|
mongodbcrates.io | >= 1.0.0, < 2.0.0-beta | 2.0.0-beta |
Affected products
2- MongoDB Inc./MongoDB Rust Driverv5Range: 2.0.0-alpha
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-4rjr-3gj2-5crqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-20332ghsaADVISORY
- github.com/mongodb/mongo-rust-driver/commit/9e8782b1bb1104e5399c073b553719c262d4463cghsaWEB
- jira.mongodb.org/browse/RUST-591ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.