CVE-2024-58251
Low · 2.5CVSS
2.5
EPSS
0.2%
Published
Apr 23, 2025
CISA due date
—
Cloudanix analysis
A common system tool can be tricked into freezing a screen when it shows information about certain programs that a local user has started.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- High
- Impact
- Denial Of Service
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Improper input validation in BusyBox netstat allows argv[0] from a launched network application to contain unfiltered ANSI terminal escape sequences, resulting in terminal lockup when the output is rendered.
Why it matters to the business
Local denial-of-service conditions can interrupt administrative workflows and monitoring on embedded or Android-based systems that rely on BusyBox, increasing operational overhead until the terminal session is recovered or the system is rebooted.
How an attack unfolds
An attacker compiles or renames a network-related binary so its process name contains an ANSI escape sequence, executes the binary locally, and waits for a privileged or administrative user to invoke netstat; the escape sequence is then printed and freezes the victim's terminal.
How to fix it
Upgrade BusyBox to a version newer than 1.37.0; for affected Android devices apply the SoCVersion dated 2022-09-05 or later from the device vendor.
How to confirm the fix worked
Verify BusyBox version is newer than 1.37.0, confirm netstat output no longer renders raw argv[0] values containing escape sequences, and test terminal behavior after launching a process with a crafted name.
Typical attack path
- Create or rename a network application binary whose argv[0] embeds a malicious ANSI escape sequence
- Execute the binary on the target system
- Wait for or socially engineer a victim to run netstat
- Observe terminal lockup on the victim's session
How to detect it
Review process listings and command-line logs for binaries whose names contain ANSI escape sequences; inspect terminal session recordings or syslog entries around netstat invocations for unexpected escape characters.
What your security team should do
- Apply the vendor-supplied BusyBox or Android SoC update immediately on all affected devices
- Audit scripts and monitoring tools that invoke netstat and replace them with safer alternatives where possible
- Monitor vendor release notes for any remaining downstream BusyBox consumers
The record
In netstat in BusyBox through 1.37.0, local users can launch of network application with an argv[0] containing an ANSI terminal escape sequence, leading to a denial of service (terminal locked up) when netstat is used by a victim.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Chainguard | busybox | 0 | 1.37.0-r49 |
| Chainguard | busybox-full | 0 | 1.37.0-r49 |
| Debian:11 | busybox | 0 | No fix |
| Debian:12 | busybox | 0 | No fix |
| Debian:13 | busybox | 0 | No fix |
| Wolfi | busybox | 0 | 1.37.0-r49 |
| Wolfi | busybox-full | 0 | 1.37.0-r49 |
| openSUSE:Tumbleweed | net-tools | 0 | 3.14~alpha~git.20251212.7011617-1.1 |
Related vulnerabilities
- CVE-2025-60876 BusyBox wget thru 1.3.7 accepted raw CR (0x0D)/LF (0x0A) and other C0 control bytes in… Also affects busybox
- CVE-2025-46394 In tar in BusyBox through 1.37.0, a TAR archive can have filenames hidden from a listing… Also affects busybox
- CVE-2023-39810 An issue in the CPIO command of Busybox v1.33.2 allows attackers to execute a directory… Also affects busybox
- CVE-2014-4607 Integer overflow in the LZO algorithm variant in Oberhumer liblzo2 and lzo-2 before 2.07… Also affects busybox
- CVE-2011-5325 Directory traversal vulnerability in the BusyBox implementation of tar before 1.22.0 v5… Also affects busybox
- CVE-2016-2148 Heap-based buffer overflow in the DHCP client (udhcpc) in BusyBox before 1.25.0 allows… Also affects busybox
- CVE-2025-46836 net-tools is a collection of programs that form the base set of the NET-3 networking… Also affects net-tools
- CVE-2026-54162 Ember is a real-time terminal dashboard for Caddy servers with FrankenPHP support. CWE-150