Out-of-bounds Write Affecting grub2-systemd-sleep-plugin package, versions <2.06-150400.11.55.2


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

Exploit Maturity
Not Defined

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-SLES154-GRUB2SYSTEMDSLEEPPLUGIN-8738651
  • published20 Feb 2025
  • disclosed19 Feb 2025

Introduced: 19 Feb 2025

NewCVE-2025-0624  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade SLES:15.4 grub2-systemd-sleep-plugin to version 2.06-150400.11.55.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grub2-systemd-sleep-plugin package and not the grub2-systemd-sleep-plugin package as distributed by SLES. See How to fix? for SLES:15.4 relevant fixed versions and status.

A flaw was found in grub2. During the network boot process, when trying to search for the configuration file, grub copies data from a user controlled environment variable into an internal buffer using the grub_strcpy() function. During this step, it fails to consider the environment variable length when allocating the internal buffer, resulting in an out-of-bounds write. If correctly exploited, this issue may result in remote code execution through the same network segment grub is searching for the boot information, which can be used to by-pass secure boot protections.

CVSS Scores

version 3.1