{"id":"CVE-2021-20332","published":"2021-08-02T12:50:09Z","modified":"2024-09-17T01:26:08Z","title":"MongoDB Rust Driver may publish events containing authentication-related data to a connection pool event listener…","vendor":"MongoDB Inc.","product":"MongoDB Rust Driver","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00308,"percentile":0.16139,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://jira.mongodb.org/browse/RUST-591","tags":["x_refsource_MISC"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":3.23},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"mongodb","affectedVersions":[{"vendor":"MongoDB Inc.","product":"MongoDB Rust Driver","versions":["2.0.0-alpha","2.0.0-alpha1",">= 1.0.0, <= 1.2.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-01-23T18:13:31.861209Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"mongodb","vulnerableRanges":[">=1.0.0, <2.0.0-beta"],"patched":["2.0.0-beta"],"from":["GHSA-4rjr-3gj2-5crq"],"provenance":"source"}],"summary":{"text":"The MongoDB Rust Driver, from MongoDB Inc., can emit a connection pool monitoring event at pool creation that contains the credentials used to authenticate pooled connections, exposing sensitive information to unauthorized actors. An attacker would need local access and high privileges, and exploitation also requires a user to act, with the leak occurring only when the pool event listener is enabled and the resulting events are ingested by the user's logging infrastructure.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:48Z"},"euvd":{"id":"EUVD-2022-2442","exploited":false,"provenance":"source"}}