CVE-2024-6382: Adversarial unsanitized input may cause MongoDB Rust Driver to issue unintended commands.
Vulnerability summary
CVE-2024-6382 is a high (CVSS 7.5) vulnerability in mongodb inc mongodb rust driver. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 21.4% of scored vulnerabilities.
Not severe (CVSS 6.4, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 02-07-2024PublishedVulnerability first disclosed.
- 01-08-2024Last modifiedVulnerability information updated.
Description
Incorrect handling of certain string inputs may result in MongoDB Rust driver constructing unintended server commands. This may cause unexpected application behavior including data modification. This issue affects MongoDB Rust Driver 2.0 versions prior to 2.8.2
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA6.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:LDiffers
- OSV · Crates.ioEcosystem advisory · calculated6.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:LDiffers
EPSS trend
Probability
0.28%
Chance of exploitation in the next 30 days
Percentile
21%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.28% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Crates.Io1 product
- mongodb≥ 2.0.0, < 2.8.2
Mongodb1 product
- rust driver≥ 2.0.0, < 2.8.2
Mongodb inc1 product
- mongodb rust driver≥ 2.0, < 2.8.2
3 vendors · 3 products