Integer Overflow or Wraparound Affecting grub2-powerpc-ieee1275 package, versions <2.04-9.7.1


high

Snyk CVSS

    Attack Complexity High
    Privileges Required High
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.12% (47th percentile)
Expand this section
NVD
6.4 medium
Expand this section
SUSE
6.4 medium
Expand this section
Red Hat
5.7 medium

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 ID SNYK-SLES152-GRUB2POWERPCIEEE1275-2706187
  • published 14 Apr 2022
  • disclosed 29 Jul 2020

How to fix?

Upgrade SLES:15.2 grub2-powerpc-ieee1275 to version 2.04-9.7.1 or higher.

NVD Description

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

Integer overflows were discovered in the functions grub_cmd_initrd and grub_initrd_init in the efilinux component of GRUB2, as shipped in Debian, Red Hat, and Ubuntu (the functionality is not included in GRUB2 upstream), leading to a heap-based buffer overflow. These could be triggered by an extremely large number of arguments to the initrd command on 32-bit architectures, or a crafted filesystem with very large files on any architecture. An attacker could use this to execute arbitrary code and bypass UEFI Secure Boot restrictions. This issue affects GRUB2 version 2.04 and prior versions.

References