CVE-2024-6382
HIGH 7.5CVSS 3.1MongoDB Rust driver may issue unintended commands
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
- Published
- 2 Jul 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cna@mongodb.com
- NVD status
- Analyzed
- Weakness
- CWE-228
- Also known as
- GHSA-32jf-h775-g29h
- Sources
- NVDJSONOSV GHSA-32jf-h775-g29hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | cna@mongodb.com (Secondary) | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mongodb | rust_drivercpe:2.3:a:mongodb:rust_driver:*:*:*:*:*:mongodb:*:* |
>= 2.0.0, < 2.8.2 | 2.8.2 |
| OSV | crates.io | mongodb | >= 2.0.0, < 2.8.2 | 2.8.2 |
References
- https://jira.mongodb.org/browse/RUST-1881 · Issue Tracking, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-6382 · ADVISORY
- https://github.com/mongodb/mongo-rust-driver/pull/1045 · WEB
- https://github.com/mongodb/mongo-rust-driver/commit/8eac3bc6dc37a6d7667ed6c1a895c224e3ff47e1 · WEB
- https://github.com/mongodb/mongo-rust-driver/commit/a3fe6c84ce6287348b1268f651fdac9fbed66187 · WEB
- https://github.com/mongodb/mongo-rust-driver · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 2 Jul 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Jul 2024)