CVE-2024-6382 in Mongodb Rust Driver
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
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mongodb | Rust Driver | ≥ 2.0.0, < 2.8.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-6382 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-048359-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2024-07-02 |
| Last modified | 2025-10-02 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-228: CWE-228
Analysis AI-written, not human-reviewed
Incorrect handling of certain string inputs in MongoDB Rust driver versions prior to 2.8.2 may lead to the construction of unintended server commands, causing unexpected application behavior and potential data modification.
An attacker could exploit this vulnerability by providing specially crafted string inputs to the MongoDB Rust driver, which could result in the execution of unintended commands on the MongoDB server.
Questions
What is CVE-2024-6382?
Incorrect handling of certain string inputs in MongoDB Rust driver versions prior to 2.8.2 may lead to the construction of unintended server commands, causing unexpected application behavior and potential data modification.
What is the CVSS score for CVE-2024-6382?
CVE-2024-6382 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.5%.
Is CVE-2024-6382 actively exploited?
No confirmed active exploitation of CVE-2024-6382 as of 2026-05-30.
How do I remediate CVE-2024-6382?
Priority: HIGH. Advisory: https://jira.mongodb.org/browse/RUST-1881 PSIRT: [email protected]
What systems are affected by CVE-2024-6382?
CVE-2024-6382 affects Mongodb Rust Driver.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mongodb","product":"Rust Driver","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-10-02.