CVE-2024-6382
Adversarial unsanitized input may cause MongoDB Rust Driver to issue unintended commands.
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
INFO
Published Date :
July 2, 2024, 6:15 p.m.
Last Modified :
Oct. 2, 2025, 1:48 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2024-6382
                                            vulnerability.
                                            Even if cvefeed.io is aware of the exact versions of the
                                            products
                                            that
                                            are
                                            affected, the information is not represented in the table below.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | 
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2024-6382.
                                        
| URL | Resource | 
|---|---|
| https://jira.mongodb.org/browse/RUST-1881 | Issue Tracking Vendor Advisory | 
| https://jira.mongodb.org/browse/RUST-1881 | Issue Tracking Vendor Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2024-6382 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2024-6382
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2024-6382 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2024-6382 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            Reanalysis by [email protected]Oct. 02, 2025 Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Removed CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N 
- 
                            Initial Analysis by [email protected]Oct. 02, 2025 Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N Added CPE Configuration OR *cpe:2.3:a:mongodb:rust_driver:*:*:*:*:*:mongodb:*:* versions from (including) 2.0.0 up to (excluding) 2.8.2 Added Reference Type CVE: https://jira.mongodb.org/browse/RUST-1881 Types: Issue Tracking, Vendor Advisory Added Reference Type MongoDB, Inc.: https://jira.mongodb.org/browse/RUST-1881 Types: Issue Tracking, Vendor Advisory 
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference https://jira.mongodb.org/browse/RUST-1881 
- 
                            CVE Received by [email protected]Jul. 02, 2024 Action Type Old Value New Value Added 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 Added Reference MongoDB, Inc. https://jira.mongodb.org/browse/RUST-1881 [No types assigned] Added CWE MongoDB, Inc. CWE-228 Added CVSS V3.1 MongoDB, Inc. AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L 
 
                         
                         
                         
                                             
                                            