Vulnerability · Published Aug 23, 2024 · Assigned by mitre
CVE-2024-42040
High 8.1
In plain English
A high-severity buffer overflow in the u-boot package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | u-boot | 2023.01+dfsg-2+deb12u3 | DEBIAN-CVE-2024-42040 |
| Debian:13 | u-boot | 2025.01-3+deb13u1 | DEBIAN-CVE-2024-42040 |
| Debian:14 | u-boot | 2025.01-3.2 | DEBIAN-CVE-2024-42040 |
| Ubuntu:22.04:LTS | u-boot | no fix listed | UBUNTU-CVE-2024-42040 |
| Ubuntu:24.04:LTS | u-boot | no fix listed | UBUNTU-CVE-2024-42040 |
| Ubuntu:25.10 | u-boot | no fix listed | UBUNTU-CVE-2024-42040 |
| Ubuntu:26.04:LTS | u-boot | no fix listed | UBUNTU-CVE-2024-42040 |
| Ubuntu:26.10 | u-boot | no fix listed | UBUNTU-CVE-2024-42040 |
| Ubuntu:22.04:LTS | u-boot-nezha | no fix listed | UBUNTU-CVE-2024-42040 |
| Ubuntu:24.04:LTS | u-boot-nezha | no fix listed | UBUNTU-CVE-2024-42040 |
Affected products (as reported)
Weakness: CWE-120 · Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H