{"cve":"CVE-2021-20332","nvd":{"published":"2021-08-02T13:15:07.633","modified":"2026-06-17T03:33:41.470","status":"Modified","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","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.4},"cwes":["CWE-200"],"references":["https://jira.mongodb.org/browse/RUST-591","https://jira.mongodb.org/browse/RUST-591"],"products":["mongodb:rust_driver"],"source":"nvd","synced_at":"2026-10-19T21:21:13.713336758+00:00"},"epss":{"cve":"CVE-2021-20332","score":0.00308,"percentile":0.2368,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4rjr-3gj2-5crq","url":"https://osv.dev/vulnerability/GHSA-4rjr-3gj2-5crq","summary":"Exposure of Sensitive Information to an Unauthorized Actor in MongoDB Rust Driver","modified":"2023-11-08T04:04:37.418535Z","packages":[{"ecosystem":"crates.io","name":"mongodb","purl":"pkg:cargo/mongodb","ranges":[">=1.0.0 <2.0.0-beta"],"fixed":["2.0.0-beta"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}