Description
BusyBox before commit 42202bf contains a heap buffer overflow vulnerability in the DHCPv6 client (udhcpc6) DNS_SERVERS option handler in networking/udhcp/d6_dhcpc.c that allows network-adjacent attackers to trigger memory corruption by sending a crafted DHCPv6 response with a malformed D6_OPT_DNS_SERVERS option. Attackers can exploit incorrect heap buffer allocation calculations in the option_to_env() function to cause denial of service or achieve arbitrary code execution on embedded systems without heap hardening.
Problem types
CWE-122: Heap-based Buffer Overflow
Product status
Any version before 42202bfb1e6ac51fa995beda8be4d7b654aeee2a
Credits
Kazuma Matsumoto, a security researcher at GMO Cybersecurity by IERAE, Inc.
VulnCheck
References
y637f9qq2x.com/posts/busybox-dhcpv6-heap-overflow/
github.com/...ommit/42202bfb1e6ac51fa995beda8be4d7b654aeee2a
github.com/...ommit/d368f3f7836d1c2484c8f839316e5c93e76d4409
busybox.net/
www.vulncheck.com/...nt-heap-buffer-overflow-via-dns-servers