SB2025030430 - Multiple vulnerabilities in U-Boot
Published: March 4, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 6 secuirty vulnerabilities.
1) Integer overflow (CVE-ID: CVE-2024-57256)
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to integer overflow within the ext4fs_read_symlink() function. A local user can use a specially crafted ext4 filesystem to trigger an integer overflow and execute arbitrary code with elevated privileges.
2) Integer overflow (CVE-ID: CVE-2024-57254)
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.
3) Integer overflow (CVE-ID: CVE-2024-57255)
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.
4) Resource exhaustion (CVE-ID: CVE-2024-57257)
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to application does not properly control consumption of internal resources in the sqfs_size() function. A local user can use a specially crafted squashfs filesystem with deep symlink nesting to trigger resource exhaustion and perform a denial of service (DoS) attack.
5) Integer overflow (CVE-ID: CVE-2024-57258)
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to integer overflow. A local user can use a specially crafted squashfs filesystem to trigger integer overflow and execute arbitrary code on the target system.
6) Off-by-one (CVE-ID: CVE-2024-57259)
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to an off-by-one error within the sqfs_search_dir() function. A local user can trigger memory corruption for squashfs directory listing and execute arbitrary code with elevated privileges.
Remediation
Install update from vendor's website.
References
- https://source.denx.de/u-boot/u-boot/-/commit/35f75d2a46e5859138c83a75cd2f4141c5479ab9
- https://www.openwall.com/lists/oss-security/2025/02/17/2
- https://source.denx.de/u-boot/u-boot/-/commit/c8e929e5758999933f9e905049ef2bf3fe6b140d
- https://source.denx.de/u-boot/u-boot/-/commit/233945eba63e24061dffeeaeb7cd6fe985278356
- https://source.denx.de/u-boot/u-boot/-/commit/4f5cc096bfd0a591f8a11e86999e3d90a9484c34
- https://source.denx.de/u-boot/u-boot/-/commit/0a10b49206a29b4aa2f80233a3e53ca0466bb0b3
- https://source.denx.de/u-boot/u-boot/-/commit/8642b2178d2c4002c99a0b69a845a48f2ae2706f
- https://source.denx.de/u-boot/u-boot/-/commit/c17b2a05dd50a3ba437e6373093a0d6a359cdee0
- https://source.denx.de/u-boot/u-boot/-/commit/048d795bb5b3d9c5701b4855f5e74bcf6849bf5e