Integer Overflow or Wraparound Affecting u-boot package, versions [,2025.01-rc1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-UBOOT-8678808
  • published30 Jan 2025
  • disclosed30 Jan 2025
  • creditRichard Weinberger

Introduced: 30 Jan 2025

CVE-2024-57256  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade u-boot to version 2025.01-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the ext4fs_read_symlink() function. An attacker can carefully craft a ext4 filesystem that can exhibit an inode size of 0xffffffff, as a consequence zalloc() will do a zero allocation. Later in the function the inode size is again used for copying data, allowing an attacker to overwrite memory.

CVSS Base Scores

version 4.0
version 3.1