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.36% (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-8678790
  • published30 Jan 2025
  • disclosed29 Jan 2025
  • creditRichard Weinberger

Introduced: 29 Jan 2025

CVE-2024-57254  (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 sqfs_inode_size() function. An attacker can carefully craft a squashfs filesystem that can exhibit an extremely large inode size and overflow the calculation in sqfs_inode_size(). As a consequence, the squashfs driver will read from wrong locations.

CVSS Base Scores

version 4.0
version 3.1