CVE-2024-57256

Published Feb 18, 2025

Last updated 6 days ago

Overview

AI description

Automated description summarized from trusted sources.

CVE-2024-57256 is an integer overflow vulnerability found in the ext4 symlink resolution function of Das U-Boot (Universal Boot Loader). This vulnerability allows an attacker who can manipulate ext4 filesystem data structures to potentially corrupt memory within U-Boot. Systems using verified boot could have their chain of trust bypassed, enabling malicious code execution. U-Boot is a widely used boot loader for embedded systems based on various processors, including PowerPC, ARM, and MIPS. It initializes and tests hardware, and loads/runs application code. The vulnerability affects versions of U-Boot prior to 2025.01-rc1. Upgrading to version 2025.01-rc1 or later mitigates this vulnerability.

Description
An integer overflow in ext4fs_read_symlink in Das U-Boot before 2025.01-rc1 occurs for zalloc (adding one to an le32 variable) via a crafted ext4 filesystem with an inode size of 0xffffffff, resulting in a malloc of zero and resultant memory overwrite.
Source
cve@mitre.org
NVD status
Modified
Products
u-boot

Risk scores

CVSS 3.1

Type
Primary
Base score
6.8
Impact score
5.9
Exploitability score
0.9
Vector string
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity
MEDIUM

Weaknesses

cve@mitre.org
CWE-190

Social media

Hype score
Not currently trending

Configurations