CVE-2024-6382Mongodb Rust Driver
High 7.5 No auth needed
Follow: this CVE · Mongodb · Mongodb Rust Driver We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 38
- Auth required
- No
- Published
- Jul 2, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-228
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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
What to do
- Apply the vendor's security update for Rust Driver.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | mongodb |
≥ 2.0.0 < 2.8.2 |
2.8.2 |
cargo update -p mongodb --precise 2.8.2 |
Per OSV / GitHub Advisories (GHSA-32jf-h775-g29h). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mongodb | rust_driver | ≥ 2.0.0 < 2.8.2 |
Official sources
References
Links published by the sources. Open them with care.
- jira.mongodb.org Issue Tracking Vendor Advisory