CVE-2024-31837
High · 8.4CVSS
8.4
EPSS
0.2%
Published
Apr 30, 2024
CISA due date
—
Cloudanix analysis
An outdated command-line tool for collecting online information contains a flaw that could allow someone running it locally to take control of the computer.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- No Fix Yet
- Effort
- Other
- Patch risk
- Other
What it actually does
Format string vulnerability allows local attacker to supply malicious format specifiers that corrupt memory or execute arbitrary code within the DMitry process.
Why it matters to the business
Compromise of systems running information-gathering tools can lead to unauthorized code execution, data exposure, or lateral movement with limited operational impact due to low prevalence and exploitation likelihood.
How an attack unfolds
An attacker invokes the vulnerable binary with command-line arguments containing format specifiers such as %s, %n, or %x; the tool passes these directly to a printf-style function without sanitization, enabling memory reads or writes that achieve code execution.
How to fix it
Upgrade to a patched version of DMitry if available, or replace the tool with a maintained alternative; compile from source with format-string protections enabled and restrict execution to trusted inputs only.
How to confirm the fix worked
Verify the binary no longer accepts unsanitized format specifiers by testing with controlled inputs that previously triggered crashes or memory disclosure; confirm removal or isolation of the vulnerable binary from production environments.
Typical attack path
- Identify a system running DMitry 1.3a
- Craft malicious command-line input containing format specifiers
- Execute the tool with the crafted input locally
- Achieve memory corruption leading to arbitrary code execution
How to detect it
Review process execution logs and command-line history for invocations of the DMitry binary with unusual arguments containing percent signs or format directives; monitor for unexpected crashes or memory-related errors during tool execution.
What your security team should do
- Remove or replace DMitry 1.3a with a supported equivalent
- Scan for presence of the vulnerable binary across endpoints and build pipelines
- Enforce least-privilege execution and input validation for any remaining information-gathering utilities
The record
DMitry (Deepmagic Information Gathering Tool) 1.3a has a format-string vulnerability, with a threat model similar to CVE-2017-7938.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | dmitry | 0 | No fix |
| Debian:11 | dmitry | 0 | 1.3a-1.1+deb11u1 |
| Debian:12 | dmitry | 0 | 1.3a-1.2+deb12u1 |
| Debian:13 | dmitry | 0 | 1.3a-5 |
| Debian:14 | dmitry | 0 | 1.3a-5 |
| Ubuntu:16.04:LTS | dmitry | 0 | No fix |
| Ubuntu:18.04:LTS | dmitry | 0 | No fix |
| Ubuntu:20.04:LTS | dmitry | 0 | No fix |
| Ubuntu:22.04:LTS | dmitry | 0 | No fix |
| Ubuntu:24.04:LTS | dmitry | 0 | No fix |
| Ubuntu:24.10 | dmitry | 0 | No fix |
| Ubuntu:25.04 | dmitry | 0 | No fix |
| Ubuntu:25.10 | dmitry | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | dmitry | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | dmitry | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | dmitry | 0 | No fix |
Related vulnerabilities
- CVE-2026-73782 A format string vulnerability exists in the command line interface of AOS-CX that could… CWE-134
- CVE-2026-16821 IBM AIX 7.2, and 7.3 and IBM PowerVM VIOS 4.1 could allow a local attacker to gain… CWE-134
- CVE-2026-81574 In CodeMeter Runtime before versions 8.41a and 9.10, the logger does not sanitize input… CWE-134
- CVE-2026-63073 Issue summary: OpenSSL CMP response validation passed an unexpected response sender… CWE-134
- CVE-2026-17136 IBM AIX 7.2, and 7.3 and IBM PowerVM VIOS 4.1 could allow a remote attacker to execute… CWE-134
- CVE-2026-68553 Coturn is a free open source implementation of TURN and STUN Server. CWE-134
- CVE-2026-15961 IBM PowerVM Hypervisor FW1120.00, FW1110.00 through FW1110.30, and FW1060.00 through… CWE-134
- CVE-2026-12004 IBM Security Verify Access 10.0 through 10.0.9.2 and IBM Verify Identity Access 11.0… CWE-134