{"id":"CVE-2024-6382","published":"2024-07-02T17:17:50Z","modified":"2024-08-01T21:41:03Z","title":"Adversarial unsanitized input may cause MongoDB Rust Driver to issue unintended commands.","vendor":"MongoDB Inc","product":"MongoDB Rust Driver","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00277,"percentile":0.20386,"provenance":"source"},"cwes":[{"id":"CWE-228","name":"Improper Handling of Syntactically Invalid Structure"}],"references":[{"url":"https://jira.mongodb.org/browse/RUST-1881","tags":[]}],"priority":{"score":8.6,"factors":[{"name":"EPSS percentile","points":4.08},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"mongodb","affectedVersions":[{"vendor":"MongoDB Inc","product":"MongoDB Rust Driver","versions":[">= 2.0, < 2.8.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-02T19:25:24.875879Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"mongodb","vulnerableRanges":[">=2.0.0, <2.8.2"],"patched":["2.8.2"],"from":["GHSA-32jf-h775-g29h"],"provenance":"source"}],"summary":{"text":"The MongoDB Rust Driver, from MongoDB Inc, mishandles certain string inputs so that it can construct unintended server commands. An attacker who can submit crafted input to an application using the driver and holds low-privilege authentication can cause unexpected application behavior, including data modification, without any user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:00Z"},"euvd":{"id":"EUVD-2024-47489","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mongodb-rust-driver-cve-2024-6382","children":[{"from":"CVE-2024-6382","to":"CVE-2025-11695","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/client/options.rs"],"commits":["https://github.com/mongodb/mongo-rust-driver/commit/8eac3bc6dc37a6d7667ed6c1a895c224e3ff47e1","https://github.com/mongodb/mongo-rust-driver/commit/a3fe6c84ce6287348b1268f651fdac9fbed66187","https://github.com/mongodb/mongo-rust-driver/commit/21ed6aeeea386628621b36a6af2a1a248cc87dcf","https://github.com/mongodb/mongo-rust-driver/commit/b918cd6676331c45f26dd1acd13e230aaf17fe6d"],"basis":"rarely changed file"}]}]}}