Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| vda-linux / busybox_mirror | affected 0 before 42202bfb1e6ac51fa995beda8be4d7b654aeee2a |
CWE
CWE-122
References
- https://y637f9qq2x.com/posts/busybox-dhcpv6-heap-overflow/
- https://github.com/vda-linux/busybox_mirror/commit/42202bfb1e6ac51fa995beda8be4d7b654aeee2a
- https://github.com/vda-linux/busybox_mirror/commit/d368f3f7836d1c2484c8f839316e5c93e76d4409
- https://busybox.net/
- https://www.vulncheck.com/advisories/busybox-dhcpv6-client-heap-buffer-overflow-via-dns-servers
ADP enrichment
No English description supplied.
No references supplied.
A flaw was found in BusyBox. A heap buffer overflow vulnerability exists in the Dynamic Host Configuration Protocol version 6 (DHCPv6) client, specifically within the `option_to_env()` function. Network-adjacent attackers can exploit this by sending a crafted DHCPv6 response containing a malformed D6_OPT_DNS_SERVERS option. This can lead to memory corruption, potentially allowing for arbitrary code execution or denial of service on affected embedded systems lacking heap hardening.