A buffer overflow was found in Shim in the 32-bit system. The overflow happens due to an addition operation involving a user-controlled value parsed from the PE binary being used by Shim. This value is further used for memory allocation operations, leading to a heap-based buffer overflow. This flaw causes memory corruption and can lead to a crash or data integrity issues during the boot phase.
Workaround:
The product writes data past the end, or before the beginning, of the intended buffer.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://access.redhat.com/errata/RHSA-2024:1834 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:1835 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:1873 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:1876 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:1883 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:1902 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:1903 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:1959 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:2086 | vendor advisory |
https://access.redhat.com/security/cve/CVE-2023-40548 | vdb entry vendor advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=2241782 | issue tracking vendor advisory |
https://lists.debian.org/debian-lts-announce/2024/05/msg00009.html |