#VU105293 Integer overflow in U-Boot - CVE-2024-57255


Vulnerability identifier: #VU105293

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-57255

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_resolve_symlink() function. A local user can use a specially crafted squashfs filesystem with an inode size of 0xffffffff to trigger integer overflow and execute arbitrary code on the target system.

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/233945eba63e24061dffeeaeb7cd6fe985278356
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