CVE-2024-6382: Adversarial unsanitized input may cause MongoDB Rust Driver to issue unintended commands.

Published Jul 2, 2024
·
Updated

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

Affected Software

2 affected components
MongoDB Rust Driver<2.8.2
MongoDB Rust Driver Mongodb>=2.0.0<2.8.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade mongodb/rust-driver to a version that resolves this vulnerability.

    Fixed in 2.8.2

Event History

Jul 2, 2024
CVE Published
via MITRE·05:17 PM
Data Sourced
via MITRE·05:17 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-6382?

CVE-2024-6382 has been classified as a moderate severity vulnerability.

2

How do I fix CVE-2024-6382?

To fix CVE-2024-6382, upgrade the MongoDB Rust Driver to version 2.8.2 or later.

3

What can happen if CVE-2024-6382 is exploited?

Exploitation of CVE-2024-6382 can lead to unintended server commands being constructed, resulting in unexpected application behavior and potential data modification.

4

Which versions of MongoDB Rust Driver are affected by CVE-2024-6382?

CVE-2024-6382 affects MongoDB Rust Driver versions prior to 2.8.2.

5

Is it safe to use MongoDB Rust Driver 2.0 versions after patching for CVE-2024-6382?

Yes, using MongoDB Rust Driver version 2.8.2 or later is safe as it addresses the vulnerability CVE-2024-6382.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203