Cyber Resilience

CVE-2024-6382

Mongodb Rust Driver 2.0.0 – 2.8.2

Published
02 July 2024
Modified
02 October 2025
Patch / advisory
CVSS Score v3.1 6.4
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
EPSS Score 0.0028 20th percentile
Risk Priority 46 floored blend · peak EPSS

Summary

CVE-2024-6382 is a medium-severity Improper Handling of Syntactically Invalid Structure (CWE-228) vulnerability in Mongodb Rust Driver. Its CVSS base score is 6.4 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 20th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-11695Same product: Mongodb Rust Driver
CVE-2024-8305Same vendor: Mongodb
CVE-2026-50103Shared CWE-228
CVE-2024-22809Shared CWE-228
CVE-2026-20125Shared CWE-228
CVE-2024-21612Shared CWE-228
CVE-2026-4359Same vendor: Mongodb
CVE-2025-59174Shared CWE-228
CVE-2025-14847Same vendor: Mongodb
CVE-2025-2529Shared CWE-228

Affected Assets

mongodb
rust driver
2.0.0 — 2.8.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

SI-10 requires validity checks on information inputs, directly stopping syntactically malformed data from being processed without proper handling.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require robust input validation and syntax handling to prevent malformed-structure flaws.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect malformed-input issues but does not itself implement the handling logic.

prevents

Secure development life cycle mandates input validation and error handling that directly prevents improper handling of syntactically invalid structures.

prevents

Application security requirements include explicit rules for input validation and malformed-data handling.

prevents

Secure system architecture principles encourage robust input handling but do not prescribe the specific coding practice.

prevents

Secure coding explicitly requires validation of all input syntax and structure, directly eliminating CWE-228.

References