Buffer Overflow Affecting grub2 package, versions [0,]


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-GRUB2-8746202
  • published25 Feb 2025
  • disclosed18 Feb 2025
  • creditJonathan Bar Or

Introduced: 18 Feb 2025

NewCVE-2025-0689  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Buffer Overflow through the grub_udf_read_block function. An attacker can execute arbitrary code by tricking a user into running grub2 with a specially crafted UDF file system image.

Note:

This is only exploitable if the UDF module is built and used.

Workaround

This vulnerability can be mitigated by not running grub2 in an untrusted environment, specifically with a UDF file system image.

CVSS Base Scores

version 4.0
version 3.1