CVE-2021-20332: mongodb inc mongodb rust driver
Vulnerability summary
CVE-2021-20332 is a medium (CVSS 4.4) vulnerability in mongodb inc mongodb rust driver. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 22.1% of scored vulnerabilities.
Timeline
- 02-08-2021PublishedVulnerability first disclosed.
- 17-09-2024Last modifiedVulnerability information updated.
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
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA4.2MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:NDiffers
- OSV · Crates.ioEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.31%
Chance of exploitation in the next 30 days
Percentile
22%
Versus all other CVEs
30-day change
0.00 pp
From 0.31% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Crates.Io1 product
- mongodb≥ 1.0.0, < 2.0.0-beta
Mongodb1 product
- rust_driver≥ 1.0.0, ≤ 1.2.1 | 2.0.0:alpha | 2.0.0:alpha1
Mongodb inc1 product
- mongodb rust driver2.0.0-alpha | 2.0.0-alpha1 | ≥ 1.0.0, ≤ 1.2.1
3 vendors · 3 products