An integer overflow issue exists in shim when compiled for 32-bit processors. The issue is due to performing addition on a user-controlled value parsed from the PE being loaded without verifying that the result of the addition does not overflow. The overflowed value is passed as a size to AllocatePool, and then the resulting buffer is copied to using the original value, resulting in a buffer overflow.
Created shim tracking bugs for this issue: Affects: fedora-all [bug 2259921]
shim 15.8-1.el7 passed sanity testing: signatures on efi binaries are correct, booting VM, netboot / httpboot over ipv4 and ipv6 all pass
Important update information: The new shim revokes ALL PREVIOUS VERSIONS of GRUB2. Therefore GRUB2 MUST be updated to the latest version: grub2-2.02-0.87.el7_9.14 (RHSA-2024:128440-02) BEFORE OR SIMULTANEOUSLY with this shim in order for Secure Boot to continue to work. Failure to update GRUB2 will result in an UNBOOTABLE system.
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.2 Advanced Update Support Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions Red Hat Enterprise Linux 8.2 Telecommunications Update Service Via RHSA-2024:1834 https://access.redhat.com/errata/RHSA-2024:1834
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.0 Extended Update Support Via RHSA-2024:1835 https://access.redhat.com/errata/RHSA-2024:1835
https://bugzilla.redhat.com/show_bug.cgi?id=2234589#c17
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions Red Hat Enterprise Linux 8.4 Telecommunications Update Service Via RHSA-2024:1873 https://access.redhat.com/errata/RHSA-2024:1873
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.2 Extended Update Support Via RHSA-2024:1876 https://access.redhat.com/errata/RHSA-2024:1876
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.8 Extended Update Support Via RHSA-2024:1883 https://access.redhat.com/errata/RHSA-2024:1883
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2024:1903 https://access.redhat.com/errata/RHSA-2024:1903
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2024:1902 https://access.redhat.com/errata/RHSA-2024:1902
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2024:1959 https://access.redhat.com/errata/RHSA-2024:1959
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.6 Extended Update Support Via RHSA-2024:2086 https://access.redhat.com/errata/RHSA-2024:2086