{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-6382","id":"CVE-2024-6382","title":"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","descriptionLong":"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":"2024-07-02T17:17:50.237Z","updated":"2026-10-28T02:31:04.321899303Z","reserved":"2024-06-27T08:37:36.558Z","status":"Analyzed","rejected":false,"assigner":"mongodb","metric":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","rating":"medium","source":"mongodb"},"metrics":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","rating":"medium","source":"mongodb"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","rating":"medium","source":"mongodb.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["MongoDB Inc MongoDB Rust Driver"],"affectedProducts":[{"vendor":"MongoDB Inc","product":"MongoDB Rust Driver","defaultStatus":"unaffected","versions":[{"lessThan":"2.8.2","status":"affected","version":"2.0","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"mongodb","purl":"pkg:cargo/mongodb","ranges":[">=2.0.0 <2.8.2"],"fixed":["2.8.2"],"advisory":"GHSA-32jf-h775-g29h"}],"cwes":["CWE-228"],"aliases":["GHSA-32jf-h775-g29h"],"references":[{"url":"https://jira.mongodb.org/browse/RUST-1881","tags":["x_transferred","Issue Tracking","Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6382.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6382","tags":["advisory"]},{"url":"https://github.com/mongodb/mongo-rust-driver/pull/1045","tags":["web"]},{"url":"https://github.com/mongodb/mongo-rust-driver/commit/8eac3bc6dc37a6d7667ed6c1a895c224e3ff47e1","tags":["web"]},{"url":"https://github.com/mongodb/mongo-rust-driver/commit/a3fe6c84ce6287348b1268f651fdac9fbed66187","tags":["web"]},{"url":"https://github.com/mongodb/mongo-rust-driver","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00277,"epssPercentile":0.20454,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-6382","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6382","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-6382","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-32jf-h775-g29h","ok":true,"note":"GHSA-32jf-h775-g29h"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-6382","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["mongodb"],"critical":[],"attention":null}