Integer overflow in Universal Boot Loader (U-Boot) - CVE-2024-57254

 

Integer overflow in Universal Boot Loader (U-Boot) - CVE-2024-57254

Published: March 4, 2025


Vulnerability identifier: #VU105292
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-57254
CWE-ID: CWE-190
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: DENX
Affected software:
Universal Boot Loader (U-Boot)

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to integer overflow within the sqfs_inode_size() function when calculating a symlink size. A local user can create a specially crafted symbolic link, trigger an integer overflow and execute arbitrary code with elevated privileges.


How to mitigate CVE-2024-57254

Install updates from vendor's website.

Sources