Vulnerabilities · 2021 · Mongodb
CVE-2021-20332
Mongodb Rust Driver vulnerability
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
Affected products
Rust Driver. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mongodb Rust Driver runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Mongodb products
CVE-2025-14847CVE-2025-14345CVE-2025-13644CVE-2025-13643CVE-2025-13507CVE-2025-12893CVE-2025-12657CVE-2025-12119All 113
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.