Skip to main content
← All vulnerabilities
CVE-2021-20332GHSA-4RJR-3GJ2-5CRQ

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.0-beta
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • MongoDB Inc. MongoDB Rust Driver

    From 1.0.0 · through 1.2.1

  • mongodbcrates.io

    From 1.0.0 · fixed in 2.0.0-beta

References 1

jira.mongodb.org