Stack-based Buffer Overflow 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-8678809
  • published30 Jan 2025
  • disclosed30 Jan 2025
  • creditRichard Weinberger

Introduced: 30 Jan 2025

NewCVE-2024-57257  (opens in a new tab)
CWE-121  (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 Stack-based Buffer Overflow via the sqfs_size() function. An attacker can create a crafted filesystem and with a deep enough nesting level a stack overflow can be achieved.

CVSS Scores

version 4.0
version 3.1