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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 IDSNYK-UNMANAGED-UBOOT-8678808
  • published30 Jan 2025
  • disclosed30 Jan 2025
  • creditRichard Weinberger

Introduced: 30 Jan 2025

NewCVE-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 Scores

version 4.0
version 3.1