{"id":"CVE-2021-20332","url":"https://www.cyber-defence.io/tools/cve/CVE-2021-20332","generatedAt":"2026-10-27T21:20:12.124Z","title":"The user's logging infrastructure could then potentially ingest these events and unexpectedly leak the credentials.","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","published":"2021-08-02T13:15:08.000Z","lastModified":"2026-06-17T03:33:41.000Z","status":"Modified","sourceIdentifier":"cna@mongodb.com","cvss":{"version":"3.1","score":4.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"},"cwe":["CWE-200"],"affected":["mongodb/rust driver"],"epss":{"score":0.00308,"percentile":0.23436,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.31%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://jira.mongodb.org/browse/RUST-591","tags":["Patch","Vendor Advisory"],"source":"cna@mongodb.com"},{"url":"https://jira.mongodb.org/browse/RUST-591","tags":["Patch","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-20332","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}