Skip to content
OpenAdvisories
Medium · 4.2 CVE-2021-20332 EUVD-2022-2442GHSA-4rjr-3gj2-5crq

MongoDB Rust Driver may publish events containing authentication-related data to a connection pool event listener configured by an application

Published Aug 2, 2021 · Updated Sep 17, 2024 · Assigned by mongodb

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

Affected products

VendorProductAffectedFixed
MongoDB MongoDB Rust Driver 2.0.0-alpha, 2.0.0-alpha1, 1.0.0 – ≤ 1.2.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io mongodb >= 1.0.0, < 2.0.0-beta 2.0.0-beta GHSA-4rjr-3gj2-5crq

References