Heap-based buffer overflow in BusyBox - CVE-2023-42366

 

Heap-based buffer overflow in BusyBox - CVE-2023-42366

Published: June 27, 2024 / Updated: April 25, 2025


Vulnerability identifier: #VU93457
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2023-42366
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: busybox.net
Affected software:
BusyBox

Detailed vulnerability description

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to a boundary error within the next_token() function at awk.c. A remote attacker can trick the victim to pass a specially crafted file, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.


How to mitigate CVE-2023-42366

Install updates from vendor's website.

Sources