# CVE-2024-6382: MongoDB Rust driver may issue unintended commands

Source: https://junglewise.ai/threats/cve-2024-6382-mongodb-rust-driver-may-issue-unintended-commands  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-07-02  
License: CC BY 4.0 with a link back

CVE-2024-6382 · Severity: low · CVSS 3.1 · Published 2024-07-02

MongoDB Rust driver may issue unintended commands

Technologies: [mongodb (crates.io)](https://junglewise.ai/threats/technologies/crates-io-mongodb). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2024-6382 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-6382 being exploited in the wild.

**How severe is CVE-2024-6382?** Low severity, with a CVSS score of 3.1, published 2 July 2024.

**Which products and versions are affected?** mongodb (crates.io) SEMVER:introduced=2.0.0,fixed=2.8.2.

**Is there a fix for CVE-2024-6382?** Yes. mongodb (crates.io): upgrade to 2.8.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-6382?** Check whether you run mongodb (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- mongodb (crates.io): upgrade to 2.8.2 or later

  ```sh
  cargo update -p mongodb
  ```


## Affected products

- mongodb (crates.io) SEMVER:introduced=2.0.0,fixed=2.8.2

## Identifiers

- CVE-2024-6382
- GHSA-32jf-h775-g29h

## Related threats

- [MongoDB Rust Driver has certificate validation disabled when `tlsInsecure=False` appears in connection string](https://junglewise.ai/threats/cve-2025-11695-mongodb-rust-driver-has-certificate-validation-disabled-when)
- [Exposure of Sensitive Information to an Unauthorized Actor in MongoDB Rust Driver](https://junglewise.ai/threats/cve-2021-20332-exposure-of-sensitive-information-to-an-unauthorized-actor-in)
