# CVE-2024-58251: Denial of service in BusyBox

> Local attackers can cause a denial of service by crafting network application arguments that lock up the terminal when netstat is executed.

- **Severity:** Low 2.5 (`CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 23 Apr 2025
- **Updated:** 23 Apr 2025
- **Also known as:** ALPINE-CVE-2024-58251, AZL-60933, AZL-61217, BELL-CVE-2024-58251, DEBIAN-CVE-2024-58251, ECHO-5f56-5dff-e960, GHSA-rrv5-483w-xmr9, MINI-9w5m-f95v-57hf, OESA-2025-2328, SUSE-SU-2026:1418-1, SUSE-SU-2026:21572-1, SUSE-SU-2026:21582-1, SUSE-SU-2026:21679-1, SUSE-SU-2026:21737-1, SUSE-SU-2026:22862-1, SUSE-SU-2026:22936-1, SUSE-SU-2026:23037-1, SUSE-SU-2026:23076-1, SUSE-SU-2026:2620-1, SUSE-SU-2026:3150-1, SUSE-SU-2026:3222-1, SUSE-SU-2026:3223-1, UBUNTU-CVE-2024-58251, openSUSE-SU-2026:10679-1, openSUSE-SU-2026:20696-1, openSUSE-SU-2026:21429-1

## What is CVE-2024-58251?

CVE-2024-58251 is a low-severity denial of service vulnerability in BusyBox, published on 23 Apr 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

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.

Weakness: CWE-150 (Improper Neutralization of Escape, Meta, or Control Sequences)

## Which versions are affected by CVE-2024-58251?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `iproute2` | SUSE:Linux Enterprise Micro 5.3 | All versions | 5.14-150400.3.6.1 |
| `net-tools` | SUSE:Linux Enterprise Micro 5.3 | All versions | 2.0+git20170221.479bb4a-150000.5.18.1 |
| `iproute2` | SUSE:Linux Enterprise Micro 5.4 | All versions | 5.14-150400.3.6.1 |
| `net-tools` | SUSE:Linux Enterprise Micro 5.4 | All versions | 2.0+git20170221.479bb4a-150000.5.18.1 |
| `iproute2` | SUSE:Linux Enterprise Micro 5.5 | All versions | 5.14-150400.3.6.1 |
| `net-tools` | SUSE:Linux Enterprise Micro 5.5 | All versions | 2.0+git20170221.479bb4a-150000.5.18.1 |
| `iproute2` | SUSE:Linux Enterprise Module for Basesystem 15 SP7 | All versions | 6.4-150600.7.12.1 |
| `net-tools` | SUSE:Linux Enterprise Module for Basesystem 15 SP7 | All versions | 2.0+git20170221.479bb4a-150000.5.18.1 |
| `net-tools` | SUSE:Linux Enterprise Module for Legacy 15 SP7 | All versions | 2.0+git20170221.479bb4a-150000.5.18.1 |
| `net-tools` | SUSE:Linux Enterprise Server 16.0 | All versions | 2.10-160000.4.1 |
| `iproute2` | SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 4.12-16.9.1 |
| `net-tools` | SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 1.60-765.20.1 |
| `net-tools` | SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 2.10-160000.4.1 |
| `net-tools` | SUSE:Linux Micro 6.0 | All versions | 2.10-5.1 |
| `net-tools` | SUSE:Linux Micro 6.1 | All versions | 2.10-slfo.1.1_3.1 |
| `net-tools` | SUSE:Linux Micro 6.2 | All versions | 2.10-160000.4.1 |
| `net-tools` | openSUSE:Leap 16.0 | All versions | 2.10-160000.4.1 |
| `net-tools` | openSUSE:Tumbleweed | All versions | 3.14~alpha~git.20251212.7011617-1.1 |

## How do I fix CVE-2024-58251?

Upgrade to a fixed version.

## Is CVE-2024-58251 being exploited?

There is no known exploitation of CVE-2024-58251 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-58251 and fix it if it is affected.

What it is: CVE-2024-58251 is a low-severity denial of service vulnerability in BusyBox, published on 23 Apr 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2024-58251 in the wild and no public exploit code.

Affected product: BusyBox. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-58251/ (Markdown: https://insights.sbomify.com/CVE-2024-58251/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-58251
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-58251
- OSV: https://osv.dev/vulnerability/CVE-2024-58251

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-58251/
Summaries are generated and may contain mistakes; the official description above is the record.
