#VU105292 Integer overflow in U-Boot - CVE-2024-57254


Vulnerability identifier: #VU105292

Vulnerability risk: Low

CVSSv4.0: 5.9 [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

Exploit availability: No

Vulnerable software:
U-Boot
Client/Desktop applications / Other client software

Vendor: DENX

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

U-Boot: 2020.01 rc1 - 2024.10


External links
https://source.denx.de/u-boot/u-boot/-/commit/c8e929e5758999933f9e905049ef2bf3fe6b140d
https://www.openwall.com/lists/oss-security/2025/02/17/2


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability