Read the docs
TI-2021-03620 Aliases CVE-2021-20332GHSA-4rjr-3gj2-5crq

Information disclosure in MongoDB Rust Driver

Priority LOW 22CWE-200Published · Updated

Key facts

Attack vector
Local
Privileges required
High
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-200.

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

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00308 23rd percentileScored 2026-11-07
Fix Fixed mongodb (crates.io): 2.0.0-beta

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
MongoDBMongoDB Rust Driver2.0.0-alpha; 2.0.0-alpha1; 1.0.0 – 1.2.1—No fix listedCNA
—mongodb (crates.io)1.0.0 to before 2.0.0-beta2.0.0-betaPatch availableGHSA-4rjr-3gj2-5crq
  • MongoDB Rust Driver VendorMongoDB Affected 2.0.0-alpha; 2.0.0-alpha1; 1.0.0 – 1.2.1 Fixed in — No fix listed CNA
  • mongodb (crates.io) Vendor— Affected 1.0.0 to before 2.0.0-beta Fixed in 2.0.0-beta Patch available GHSA-4rjr-3gj2-5crq

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:mongodb:rust_driver:*:*:*:*:*:mongodb:*:*1.0.0 – 1.2.1VulnerableMongoDB
cpe:2.3:a:mongodb:rust_driver:2.0.0:alpha:*:*:*:mongodb:*:*2.0.0 alphaVulnerableMongoDB
cpe:2.3:a:mongodb:rust_driver:2.0.0:alpha1:*:*:*:mongodb:*:*2.0.0 alpha1VulnerableMongoDB
  • cpe:2.3:a:mongodb:rust_driver:*:*:*:*:*:mongodb:*:* Versions 1.0.0 – 1.2.1 Vulnerable ·MongoDB
  • cpe:2.3:a:mongodb:rust_driver:2.0.0:alpha:*:*:*:mongodb:*:* Versions 2.0.0 alpha Vulnerable ·MongoDB
  • cpe:2.3:a:mongodb:rust_driver:2.0.0:alpha1:*:*:*:mongodb:*:* Versions 2.0.0 alpha1 Vulnerable ·MongoDB

Remediation

  • Fix · GHSA-4rjr-3gj2-5crq mongodb (crates.io) Fixed in 2.0.0-beta Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-20332
  2. 2026-10-03 Alias added: GHSA-4rjr-3gj2-5crq

References

  • TI-2025-10720 Configuration may unexpectedly disable certificate validation CVSS 3.1HIGH 8.0
  • TI-2024-05924 Adversarial unsanitized input may cause MongoDB Rust Driver to issue unintended commands. CVSS 3.1HIGH 7.5
  • TI-2026-56247 Cross-database write redirection via unvalidated dotted database name in bulk write namespaces CVSS 4.0HIGH 7.1
  • TI-2026-60049 GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB Rust Driver CVSS 4.0MEDIUM 6.1

Sources