Buffer Overflow Affecting u-boot package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-UBOOT-7830479
  • published25 Aug 2024
  • disclosed23 Aug 2024
  • creditSimon Diepold of SCHUTZWERK GmbH

Introduced: 23 Aug 2024

CVE-2024-42040  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

There is no fixed version for u-boot.

Overview

Affected versions of this package are vulnerable to Buffer Overflow via the net/bootp.c process. An attacker on the local network can leak memory ranging from four to 32 bytes stored behind the packet to the network by sending crafted DHCP responses.

##Mitigation It is recommended that an adequate length be provided to bootp_process_vendor to prevent the while loop from stepping outside the packet frame and check in bootp_process_vendor_field if the copied data is still within the packet structure's range.

CVSS Scores

version 4.0
version 3.1