CVE-2023-40547
Fixed in a distro release EPSS 5%CVSS 8.3
A remote code execution vulnerability was found in Shim. The Shim boot support trusts attacker-controlled values when parsing an HTTP response. This flaw allows an attacker to craft a specific malicious HTTP request, leading to a completely controlled out-of-bounds write primitive and complete system compromise. This flaw is only exploitable during the early boot phase, an attacker needs to perform a Man-in-the-Middle or compromise the boot server to be able to exploit this vulnerability successfully.
Products: Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.2 Advanced Update Support, Red Hat Enterprise Linux 8.2 Telecommunications Update Service, Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.4 Telecommunications Update Service, Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions, Red Hat Enterprise Linux 8.6 Extended Update Support, Red Hat Enterprise Linux 8.8 Extended Update Support, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 9.0 Extended Update Support, Red Hat Enterprise Linux 9.2 Extended Update Support
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 8 | shim-aa64 | 15.8-4.el8_9.alma.1 |
| AlmaLinux 8 | shim-ia32 | 15.8-4.el8_9.alma.1 |
| AlmaLinux 8 | shim-x64 | 15.8-4.el8_9.alma.1 |
| AlmaLinux 9 | shim-aa64 | 15.8-4.el9_3.alma.1 |
| AlmaLinux 9 | shim-x64 | 15.8-4.el9_3.alma.1 |
| Amazon Linux 2 | shim-unsigned-aa64 | 12-1.amzn2.0.4 |
| Amazon Linux 2 | shim-unsigned-x64 | 12-1.amzn2.0.4 |
| Debian 10 | shim | 15.8-1~deb10u1 |
| Debian 12 | shim | 15.8-1~deb12u1 |
| Debian 13 | shim | 15.8-1 |
| Debian 14 | shim | 15.8-1 |
| Red Hat Enterprise Linux 7 | mokutil | 0:15.8-1.el7 |
| Red Hat Enterprise Linux 7 | mokutil-debuginfo | 0:15.8-1.el7 |
| Red Hat Enterprise Linux 7 | shim | 0:15.8-3.el7 |
| Red Hat Enterprise Linux 7 | shim-ia32 | 0:15.8-1.el7 |
| Red Hat Enterprise Linux 7 | shim-signed | 0:15.8-1.el7 |
| Red Hat Enterprise Linux 7 | shim-unsigned-ia32 | 0:15.8-3.el7 |
| Red Hat Enterprise Linux 7 | shim-unsigned-x64 | 0:15.8-3.el7 |
| Red Hat Enterprise Linux 7 | shim-x64 | 0:15.8-1.el7 |
| Red Hat Enterprise Linux 8 | shim | 0:15.8-4.el8_9 |
| Red Hat Enterprise Linux 8 | shim-aa64 | 0:15.8-4.el8_9 |
| Red Hat Enterprise Linux 8 | shim-ia32 | 0:15.8-4.el8_9 |
| Red Hat Enterprise Linux 8 | shim-x64 | 0:15.8-4.el8_9 |
| Red Hat Enterprise Linux 9 | shim | 0:15.8-4.el9_3 |
| Red Hat Enterprise Linux 9 | shim-aa64 | 0:15.8-4.el9_3 |
| Red Hat Enterprise Linux 9 | shim-x64 | 0:15.8-4.el9_3 |
| Red Hat rhel aus 8.2 | shim | 0:15.8-2.el8_2 |
| Red Hat rhel aus 8.2 | shim-ia32 | 0:15.8-2.el8_2 |
| Red Hat rhel aus 8.2 | shim-x64 | 0:15.8-2.el8_2 |
| Red Hat rhel aus 8.4 | shim | 0:15.8-2.el8_4 |
| Red Hat rhel aus 8.4 | shim-ia32 | 0:15.8-2.el8_4 |
| Red Hat rhel aus 8.4 | shim-x64 | 0:15.8-2.el8_4 |
| Red Hat rhel e4s 8.2 | shim | 0:15.8-2.el8_2 |
| Red Hat rhel e4s 8.2 | shim-ia32 | 0:15.8-2.el8_2 |
| Red Hat rhel e4s 8.2 | shim-x64 | 0:15.8-2.el8_2 |
| Red Hat rhel e4s 8.4 | shim | 0:15.8-2.el8_4 |
| Red Hat rhel e4s 8.4 | shim-ia32 | 0:15.8-2.el8_4 |
| Red Hat rhel e4s 8.4 | shim-x64 | 0:15.8-2.el8_4 |
| Red Hat rhel eus 8.6 | shim | 0:15.8-2.el8_6 |
| Red Hat rhel eus 8.6 | shim-aa64 | 0:15.8-2.el8_6 |
| Red Hat rhel eus 8.6 | shim-ia32 | 0:15.8-2.el8_6 |
| Red Hat rhel eus 8.6 | shim-x64 | 0:15.8-2.el8_6 |
| Red Hat rhel eus 8.8 | shim | 0:15.8-2.el8 |
| Red Hat rhel eus 8.8 | shim-aa64 | 0:15.8-2.el8 |
| Red Hat rhel eus 8.8 | shim-ia32 | 0:15.8-2.el8 |
| Red Hat rhel eus 8.8 | shim-unsigned-x64 | 0:15.8-2.el8 |
| Red Hat rhel eus 8.8 | shim-x64 | 0:15.8-2.el8 |
| Red Hat rhel eus 9.0 | shim | 0:15.8-3.el9 |
| Red Hat rhel eus 9.0 | shim-aa64 | 0:15.8-3.el9 |
| Red Hat rhel eus 9.0 | shim-unsigned-aarch64 | 0:15.8-2.el9 |
| Red Hat rhel eus 9.0 | shim-unsigned-x64 | 0:15.8-2.el9 |
| Red Hat rhel eus 9.0 | shim-x64 | 0:15.8-3.el9 |
| Red Hat rhel eus 9.2 | shim | 0:15.8-3.el9_2 |
| Red Hat rhel eus 9.2 | shim-aa64 | 0:15.8-3.el9_2 |
| Red Hat rhel eus 9.2 | shim-x64 | 0:15.8-3.el9_2 |
| Red Hat rhel tus 8.2 | shim | 0:15.8-2.el8_2 |
| Red Hat rhel tus 8.2 | shim-ia32 | 0:15.8-2.el8_2 |
| Red Hat rhel tus 8.2 | shim-x64 | 0:15.8-2.el8_2 |
| Red Hat rhel tus 8.4 | shim | 0:15.8-2.el8_4 |
| Red Hat rhel tus 8.4 | shim-ia32 | 0:15.8-2.el8_4 |
| Red Hat rhel tus 8.4 | shim-x64 | 0:15.8-2.el8_4 |
| SUSE Enterprise Storage 7.1 | shim | 15.8-150300.4.20.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | shim | 15.8-150100.3.38.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | shim | 15.8-150300.4.20.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | shim | 15.8-150300.4.20.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | shim | 15.8-150300.4.20.2 |
| SUSE Linux Enterprise Micro 5.1 | shim | 15.8-150300.4.20.2 |
| SUSE Linux Enterprise Micro 5.2 | shim | 15.8-150300.4.20.2 |
| SUSE Linux Enterprise Micro 5.3 | shim | 15.8-150300.4.20.2 |
| SUSE Linux Enterprise Micro 5.4 | shim | 15.8-150300.4.20.2 |
| SUSE Linux Enterprise Micro 5.5 | shim | 15.8-150300.4.20.2 |
| SUSE Linux Enterprise Module for Basesystem 15 SP5 | shim | 15.8-150300.4.20.2 |
| SUSE Linux Enterprise Server 12 SP5 | shim | 15.8-25.30.1 |
| SUSE Linux Enterprise Server 15 SP2-LTSS | shim | 15.8-150100.3.38.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | shim | 15.8-150300.4.20.2 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | shim | 15.8-150300.4.20.2 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | shim | 15.8-25.30.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | shim | 15.8-150100.3.38.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | shim | 15.8-150300.4.20.2 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | shim | 15.8-150300.4.20.2 |
| SUSE Linux Micro 6.0 | pcr-oracle | 0.4.6-2.1 |
| SUSE Linux Micro 6.0 | shim | 15.8-1.1 |
| SUSE Manager Proxy 4.3 | shim | 15.8-150300.4.20.2 |
| SUSE Manager Server 4.3 | shim | 15.8-150300.4.20.2 |
| Ubuntu 14.04 LTS | shim | no fix |
| Ubuntu 14.04 LTS | shim-signed | no fix |
| Ubuntu 16.04 LTS | shim | no fix |
| Ubuntu 16.04 LTS | shim-signed | no fix |
| Ubuntu 18.04 LTS | shim | no fix |
| Ubuntu 18.04 LTS | shim-signed | no fix |
| Ubuntu 20.04 LTS | shim | 15.8-0ubuntu1 |
| Ubuntu 20.04 LTS | shim-signed | 1.40.10 |
| Ubuntu 22.04 LTS | shim | 15.8-0ubuntu1 |
| Ubuntu 22.04 LTS | shim-signed | 1.51.4 |
| Ubuntu 24.04 LTS | shim | 15.8-0ubuntu1 |
| Ubuntu 24.04 LTS | shim-signed | 1.58 |
| openSUSE Leap 15.5 | shim | 15.8-150300.4.20.2 |
| openSUSE Leap Micro 5.3 | shim | 15.8-150300.4.20.2 |
| openSUSE Leap Micro 5.4 | shim | 15.8-150300.4.20.2 |