{"id":"UBUNTU-CVE-2024-58251","details":"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.","modified":"2026-04-27T18:51:10.509693Z","published":"2025-04-23T18:16:00Z","upstream":["CVE-2024-58251"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-58251"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-58251"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2025/04/23/6"}],"affected":[{"package":{"name":"busybox","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/busybox@1:1.21.0-1ubuntu1.4+esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.20.0-8.1ubuntu1","1:1.20.0-9ubuntu1","1:1.20.0-9ubuntu2","1:1.21.0-1ubuntu1","1:1.21.0-1ubuntu1.4","1:1.21.0-1ubuntu1.4+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.21.0-1ubuntu1.4+esm1","binary_name":"busybox"},{"binary_version":"1:1.21.0-1ubuntu1.4+esm1","binary_name":"busybox-initramfs"},{"binary_version":"1:1.21.0-1ubuntu1.4+esm1","binary_name":"busybox-static"},{"binary_version":"1:1.21.0-1ubuntu1.4+esm1","binary_name":"busybox-syslogd"},{"binary_version":"1:1.21.0-1ubuntu1.4+esm1","binary_name":"udhcpc"},{"binary_version":"1:1.21.0-1ubuntu1.4+esm1","binary_name":"udhcpd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-58251.json"}},{"package":{"name":"busybox","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/busybox@1:1.22.0-15ubuntu1.4+esm2?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.22.0-15ubuntu1","1:1.22.0-15ubuntu1.4","1:1.22.0-15ubuntu1.4+esm1","1:1.22.0-15ubuntu1.4+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.22.0-15ubuntu1.4+esm2","binary_name":"busybox"},{"binary_version":"1:1.22.0-15ubuntu1.4+esm2","binary_name":"busybox-initramfs"},{"binary_version":"1:1.22.0-15ubuntu1.4+esm2","binary_name":"busybox-static"},{"binary_version":"1:1.22.0-15ubuntu1.4+esm2","binary_name":"busybox-syslogd"},{"binary_version":"1:1.22.0-15ubuntu1.4+esm2","binary_name":"udhcpc"},{"binary_version":"1:1.22.0-15ubuntu1.4+esm2","binary_name":"udhcpd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-58251.json"}},{"package":{"name":"busybox","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/busybox@1:1.27.2-2ubuntu3.4+esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.22.0-19ubuntu2","1:1.27.2-1ubuntu3","1:1.27.2-1ubuntu4","1:1.27.2-2ubuntu2","1:1.27.2-2ubuntu3","1:1.27.2-2ubuntu3.1","1:1.27.2-2ubuntu3.2","1:1.27.2-2ubuntu3.3","1:1.27.2-2ubuntu3.4","1:1.27.2-2ubuntu3.4+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.27.2-2ubuntu3.4+esm1","binary_name":"busybox"},{"binary_version":"1:1.27.2-2ubuntu3.4+esm1","binary_name":"busybox-initramfs"},{"binary_version":"1:1.27.2-2ubuntu3.4+esm1","binary_name":"busybox-static"},{"binary_version":"1:1.27.2-2ubuntu3.4+esm1","binary_name":"busybox-syslogd"},{"binary_version":"1:1.27.2-2ubuntu3.4+esm1","binary_name":"udhcpc"},{"binary_version":"1:1.27.2-2ubuntu3.4+esm1","binary_name":"udhcpd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-58251.json"}},{"package":{"name":"busybox","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/busybox@1:1.30.1-4ubuntu6.5?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.30.1-4ubuntu4","1:1.30.1-4ubuntu5","1:1.30.1-4ubuntu6","1:1.30.1-4ubuntu6.1","1:1.30.1-4ubuntu6.2","1:1.30.1-4ubuntu6.3","1:1.30.1-4ubuntu6.4","1:1.30.1-4ubuntu6.5"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.30.1-4ubuntu6.5","binary_name":"busybox"},{"binary_version":"1:1.30.1-4ubuntu6.5","binary_name":"busybox-initramfs"},{"binary_version":"1:1.30.1-4ubuntu6.5","binary_name":"busybox-static"},{"binary_version":"1:1.30.1-4ubuntu6.5","binary_name":"busybox-syslogd"},{"binary_version":"1:1.30.1-4ubuntu6.5","binary_name":"udhcpc"},{"binary_version":"1:1.30.1-4ubuntu6.5","binary_name":"udhcpd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-58251.json"}},{"package":{"name":"busybox","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/busybox@1:1.30.1-7ubuntu3.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.30.1-6ubuntu3","1:1.30.1-7ubuntu1","1:1.30.1-7ubuntu2","1:1.30.1-7ubuntu3","1:1.30.1-7ubuntu3.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.30.1-7ubuntu3.1","binary_name":"busybox"},{"binary_version":"1:1.30.1-7ubuntu3.1","binary_name":"busybox-initramfs"},{"binary_version":"1:1.30.1-7ubuntu3.1","binary_name":"busybox-static"},{"binary_version":"1:1.30.1-7ubuntu3.1","binary_name":"busybox-syslogd"},{"binary_version":"1:1.30.1-7ubuntu3.1","binary_name":"udhcpc"},{"binary_version":"1:1.30.1-7ubuntu3.1","binary_name":"udhcpd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-58251.json"}},{"package":{"name":"busybox","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/busybox@1:1.36.1-6ubuntu3.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.36.1-3ubuntu1","1:1.36.1-6ubuntu1","1:1.36.1-6ubuntu3","1:1.36.1-6ubuntu3.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.36.1-6ubuntu3.1","binary_name":"busybox"},{"binary_version":"1:1.36.1-6ubuntu3.1","binary_name":"busybox-initramfs"},{"binary_version":"1:1.36.1-6ubuntu3.1","binary_name":"busybox-static"},{"binary_version":"1:1.36.1-6ubuntu3.1","binary_name":"busybox-syslogd"},{"binary_version":"1:1.36.1-6ubuntu3.1","binary_name":"udhcpc"},{"binary_version":"1:1.36.1-6ubuntu3.1","binary_name":"udhcpd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-58251.json"}},{"package":{"name":"busybox","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/busybox@1:1.37.0-4ubuntu1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.37.0-4ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.37.0-4ubuntu1","binary_name":"busybox"},{"binary_version":"1:1.37.0-4ubuntu1","binary_name":"busybox-initramfs"},{"binary_version":"1:1.37.0-4ubuntu1","binary_name":"busybox-static"},{"binary_version":"1:1.37.0-4ubuntu1","binary_name":"busybox-syslogd"},{"binary_version":"1:1.37.0-4ubuntu1","binary_name":"udhcpc"},{"binary_version":"1:1.37.0-4ubuntu1","binary_name":"udhcpd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-58251.json"}},{"package":{"name":"busybox","ecosystem":"Ubuntu:26.04","purl":"pkg:deb/ubuntu/busybox@1:1.37.0-7ubuntu1?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.37.0-4ubuntu1","1:1.37.0-7ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.37.0-7ubuntu1","binary_name":"busybox"},{"binary_version":"1:1.37.0-7ubuntu1","binary_name":"busybox-initramfs"},{"binary_version":"1:1.37.0-7ubuntu1","binary_name":"busybox-static"},{"binary_version":"1:1.37.0-7ubuntu1","binary_name":"busybox-syslogd"},{"binary_version":"1:1.37.0-7ubuntu1","binary_name":"udhcpc"},{"binary_version":"1:1.37.0-7ubuntu1","binary_name":"udhcpd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-58251.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium"}]}