Cyber Resilience

CVE-2024-8207

Mongodb 5.0.0 – 5.0.14

Published
27 August 2024
Modified
16 May 2025
Patch / advisory
CVSS Score v3.1 6.4
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0020 11th percentile
Risk Priority 45 floored blend · peak EPSS

Summary

CVE-2024-8207 is a medium-severity Process Control (CWE-114) vulnerability in Mongodb Mongodb. Its CVSS base score is 6.4 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Shared Modules (T1129); ranked at the 11th 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 AC-3 (Access Enforcement) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

In certain highly specific configurations of the host system and MongoDB server binary installation on Linux Operating Systems, it may be possible for a unintended actor with host-level access to cause the MongoDB Server binary to load unintended actor-controlled shared…

more

libraries when the server binary is started, potentially resulting in the unintended actor gaining full control over the MongoDB server process. This issue affects MongoDB Server v5.0 versions prior to 5.0.14 and MongoDB Server v6.0 versions prior to 6.0.3. Required Configuration: Only environments with Linux as the underlying operating system is affected by this issue

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1129 Shared Modules Execution
Adversaries may execute malicious payloads via loading shared modules.
T1505.005 Terminal Services DLL Persistence
Adversaries may abuse components of Terminal Services to enable persistent access to systems.
T1574 Hijack Execution Flow Stealth
Adversaries may execute their own malicious payloads by hijacking the way operating systems run programs.
T1574.001 DLL Stealth
Adversaries may abuse dynamic-link library files (DLLs) in order to achieve persistence, escalate privileges, and evade defenses.
T1574.004 Dylib Hijacking Stealth
Adversaries may execute their own payloads by placing a malicious dynamic library (dylib) with an expected name in a path a victim application searches at runtime.
T1574.006 Dynamic Linker Hijacking Stealth
Adversaries may execute their own malicious payloads by hijacking environment variables the dynamic linker uses to load shared libraries.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-47731Same product: Linux Linux Kernel
CVE-2024-26667Same product: Linux Linux Kernel
CVE-2024-47693Same product: Linux Linux Kernel
CVE-2025-6713Same product: Mongodb Mongodb
CVE-2024-45027Same product: Linux Linux Kernel
CVE-2024-49851Same product: Linux Linux Kernel
CVE-2024-36952Same product: Linux Linux Kernel
CVE-2024-26756Same product: Linux Linux Kernel
CVE-2024-26832Same product: Linux Linux Kernel
CVE-2024-44982Same product: Linux Linux Kernel

Affected Assets

mongodb
mongodb
5.0.0 — 5.0.14 · 6.0.0 — 6.0.3 · 6.1.0 — 6.1.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 11 hardening rules · 7 OS baselines
Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

Enforces access authorizations so externally supplied references cannot reach resources outside the intended sphere.

Controls information flow between security domains, blocking resolution of external references to unintended spheres.

Least functionality directly restricts execution of commands or loading of libraries to only approved capabilities, stopping untrusted sources from being used.

Mobile code control explicitly defines and enforces acceptable sources and technologies for code/commands loaded at runtime.

Validates information inputs, directly stopping externally controlled names or references from being accepted.

Malicious code protection mechanisms block execution or loading of code from untrusted sources before it can run.

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-05 mostly match
prevents

Explicitly prevents execution of unauthorized software, directly blocking untrusted commands or libraries.

PR.PS-06 mostly match
prevents

Secure development practices directly require input validation and reference sanitization that prevent externally-controlled resource references.

DE.CM-09 partial match
prevents

Runtime monitoring of software and data flows can detect anomalous external resource accesses that result from this weakness.

ID.RA-09 partial match
prevents

Assessing authenticity/integrity before acquisition reduces use of untrusted sources for commands/libraries.

PR.IR-01 partial match
prevents

Network segmentation and access controls limit the blast radius when an external reference escapes its intended sphere.

PR.PS-01 partial match
prevents

Hardened configuration baselines can enforce trusted paths and execution policies.

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 unsafe process or library loading but does not prevent it by itself.

prevents

Restricting software installation prevents loading untrusted libraries or executing commands from unknown sources.

mitigates

Secure development lifecycle practices include controls on external code and command execution paths.

prevents

Application security requirements can mandate validation of external inputs and libraries.

prevents

Secure architecture principles discourage reliance on untrusted external processes or libraries.

prevents

Secure coding standards explicitly forbid executing or loading code from untrusted sources.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Oracle Linux 8 (4 rules)
  • V-248568 OL 8 system commands must be owned by root. prevents CWE-114
  • V-248567 OL 8 system commands must have mode 755 or less permissive. prevents CWE-114
  • V-248569 OL 8 system commands must be group-owned by root or a system account. prevents CWE-114
Windows 10 (1 rule)
  • V-220828 The default autorun behavior must be configured to prevent autorun commands. prevents CWE-114
Windows 11 (1 rule)
  • V-253387 The default autorun behavior must be configured to prevent autorun commands. prevents CWE-114
Windows Server 2016 (1 rule)
  • V-224933 The default AutoRun behavior must be configured to prevent AutoRun commands. prevents CWE-114
Windows Server 2019 (1 rule)
  • V-205805 Windows Server 2019 default AutoRun behavior must be configured to prevent AutoRun commands. prevents CWE-114
Windows Server 2022 (1 rule)
  • V-254353 Windows Server 2022 default AutoRun behavior must be configured to prevent AutoRun commands. prevents CWE-114

References