CVE-2024-42040 Information disclosure in n/a
An attacker on the local network can leak up to 32 bytes of memory from U-Boot via crafted DHCP responses, potentially exposing sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-42040?
CVE-2024-42040 is a high-severity vulnerability in n/a, published on 23 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Buffer Overflow vulnerability in the net/bootp.c in DENEX U-Boot from its initial commit in 2002 (3861aa5) up to today on any platform allows an attacker on the local network to leak memory from four up to 32 bytes of memory stored behind the packet to the network depending on the later use of DHCP-provided parameters via crafted DHCP responses.
Weakness: CWE-120
Which versions are affected by CVE-2024-42040?
It affects 1 product.
Products include Denx U-Boot.
How do I fix CVE-2024-42040?
Apply the vendor's patch.
Is CVE-2024-42040 being exploited?
There is no known exploitation of CVE-2024-42040 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2024-42040, GHSA-xh96-vq46-m9ww, OESA-2026-1971, UBUNTU-CVE-2024-42040.