CVE-2023-40546
published medium CVSS 3.1 · 6.2Shim: out-of-bounds read printing error messages
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 7 | shim0:15.8-3.el7 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 7 | shim-signed0:15.8-1.el7 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | shim0:15.8-4.el8_9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 8.2 Advanced Update Support · 0:15.8-2.el8_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | buster | shim | Advisory build | 15.8-1~deb10u1 | DLA-3813-1 |
| Oracle Linux | 7 | shim-unsigned-x64x86_64 | Advisory build | 0:15.8-2.0.3.el7 | ELSA-2024-1959 |
| Red Hat Enterprise Linux | RHEL-7 | shimsrc | Advisory build | 15.8-3.el7 | RHSA-2024:1959 |
Show 77 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | shimRed Hat Enterprise Linux 8.2 Telecommunications Update Service · 0:15.8-2.el8_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 8.2 Update Services for SAP Solutions · 0:15.8-2.el8_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support · 0:15.8-2.el8_4 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 8.4 Telecommunications Update Service · 0:15.8-2.el8_4 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 8.4 Update Services for SAP Solutions · 0:15.8-2.el8_4 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 8.6 Extended Update Support · 0:15.8-2.el8_6 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 8.8 Extended Update Support · 0:15.8-2.el8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shim-unsigned-x64Red Hat Enterprise Linux 8.8 Extended Update Support · 0:15.8-2.el8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | shim0:15.8-4.el9_3 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 9.0 Extended Update Support · 0:15.8-3.el9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shim-unsigned-aarch64Red Hat Enterprise Linux 9.0 Extended Update Support · 0:15.8-2.el9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shim-unsigned-x64Red Hat Enterprise Linux 9.0 Extended Update Support · 0:15.8-2.el9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | shimRed Hat Enterprise Linux 9.2 Extended Update Support · 0:15.8-3.el9_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| SUSE / openSUSE | SLE-12-SP5 | shimx86_64 | Advisory build | 15.8-25.30.1 | SUSE-SU-2024:1462-1 |
| AlmaLinux | 8 | shim-aa64 | Advisory build | 15.8-4.el8_9.alma.1 | ALSA-2024:1902 |
| Red Hat Enterprise Linux | RHEL-7 | shim-signedsrc | Advisory build | 15.8-1.el7 | RHSA-2024:1959 |
| Red Hat Enterprise Linux | RHEL-7 | shim-unsigned-x64x86_64 | Advisory build | 15.8-3.el7 | RHSA-2024:1959 |
| Red Hat Enterprise Linux | RHEL-8 | shimsrc | Advisory build | 15.8-2.el8 | RHSA-2024:1883 |
| Red Hat Enterprise Linux | RHEL-8 | shimsrc | Advisory build | 15.8-2.el8_2 | RHSA-2024:1834 |
| Red Hat Enterprise Linux | RHEL-8 | shimsrc | Advisory build | 15.8-2.el8_4 | RHSA-2024:1873 |
| Red Hat Enterprise Linux | RHEL-8 | shimsrc | Advisory build | 15.8-2.el8_6 | RHSA-2024:2086 |
| Red Hat Enterprise Linux | RHEL-8 | shimsrc | Advisory build | 15.8-4.el8_9 | RHSA-2024:1902 |
| Red Hat Enterprise Linux | RHEL-9 | shimsrc | Advisory build | 15.8-3.el9 | RHSA-2024:1835 |
| Red Hat Enterprise Linux | RHEL-9 | shimsrc | Advisory build | 15.8-3.el9_2 | RHSA-2024:1876 |
| Red Hat Enterprise Linux | RHEL-9 | shimsrc | Advisory build | 15.8-4.el9_3 | RHSA-2024:1903 |
| Red Hat Enterprise Linux | RHEL-9 | shim-unsigned-aarch64aarch64 | Advisory build | 15.8-2.el9 | RHSA-2024:1835 |
| Red Hat Enterprise Linux | RHEL-9 | shim-unsigned-aarch64src | Advisory build | 15.8-2.el9 | RHSA-2024:1835 |
| SUSE / openSUSE | SLE-15-SP2 | shimx86_64 | Advisory build | 15.8-150100.3.38.1 | SUSE-SU-2024:1461-1 |
| SUSE / openSUSE | SLE-15-SP3 | shimaarch64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | SLE-15-SP3 | shimx86_64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | SLE-15-SP4 | shimaarch64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | SLE-15-SP4 | shimx86_64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | SLE-15-SP5 | shimaarch64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | SLE-15-SP5 | shimx86_64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | SLE-5 | shimaarch64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | SLE-5 | shimx86_64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | shimaarch64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | shimx86_64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.3 | shimaarch64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.3 | shimx86_64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.4 | shimaarch64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.4 | shimx86_64 | Advisory build | 15.8-150300.4.20.2 | SUSE-SU-2024:1368-1 |
| AlmaLinux | 8 | shim-ia32 | Advisory build | 15.8-4.el8_9.alma.1 | ALSA-2024:1902 |
| AlmaLinux | 8 | shim-x64 | Advisory build | 15.8-4.el8_9.alma.1 | ALSA-2024:1902 |
| AlmaLinux | 9 | shim-aa64 | Advisory build | 15.8-4.el9_3.alma.1 | ALSA-2024:1903 |
| AlmaLinux | 9 | shim-x64 | Advisory build | 15.8-4.el9_3.alma.1 | ALSA-2024:1903 |
| Oracle Linux | 7 | mokutilx86_64 | Advisory build | 0:15.8-1.0.3.el7 | ELSA-2024-1959 |
| Oracle Linux | 7 | shim-x64x86_64 | Advisory build | 0:15.8-1.0.3.el7 | ELSA-2024-1959 |
| Oracle Linux | 8 | shim-aa64aarch64 | Advisory build | 0:15.8-4.0.1.el8 | ELSA-2024-1902 |
| Oracle Linux | 8 | shim-ia32x86_64 | Advisory build | 0:15.8-4.0.1.el8 | ELSA-2024-1902 |
| Oracle Linux | 8 | shim-x64x86_64 | Advisory build | 0:15.8-4.0.1.el8 | ELSA-2024-1902 |
| Oracle Linux | 9 | shim-aa64aarch64 | Advisory build | 0:15.8-1.0.3.el9 | ELSA-2024-1903 |
| Oracle Linux | 9 | shim-x64x86_64 | Advisory build | 0:15.8-1.0.3.el9 | ELSA-2024-1903 |
| Red Hat Enterprise Linux | RHEL-7 | mokutilx86_64 | Advisory build | 15.8-1.el7 | RHSA-2024:1959 |
| Red Hat Enterprise Linux | RHEL-7 | mokutil-debuginfox86_64 | Advisory build | 15.8-1.el7 | RHSA-2024:1959 |
| Red Hat Enterprise Linux | RHEL-7 | shim-ia32x86_64 | Advisory build | 15.8-1.el7 | RHSA-2024:1959 |
| Red Hat Enterprise Linux | RHEL-7 | shim-unsigned-ia32x86_64 | Advisory build | 15.8-3.el7 | RHSA-2024:1959 |
| Red Hat Enterprise Linux | RHEL-7 | shim-x64x86_64 | Advisory build | 15.8-1.el7 | RHSA-2024:1959 |
| Red Hat Enterprise Linux | RHEL-8 | shim-aa64aarch64 | Advisory build | 15.8-2.el8 | RHSA-2024:1883 |
| Red Hat Enterprise Linux | RHEL-8 | shim-aa64aarch64 | Advisory build | 15.8-2.el8_6 | RHSA-2024:2086 |
| Red Hat Enterprise Linux | RHEL-8 | shim-aa64aarch64 | Advisory build | 15.8-4.el8_9 | RHSA-2024:1902 |
| Red Hat Enterprise Linux | RHEL-8 | shim-ia32x86_64 | Advisory build | 15.8-2.el8 | RHSA-2024:1883 |
| Red Hat Enterprise Linux | RHEL-8 | shim-ia32x86_64 | Advisory build | 15.8-2.el8_2 | RHSA-2024:1834 |
| Red Hat Enterprise Linux | RHEL-8 | shim-ia32x86_64 | Advisory build | 15.8-2.el8_4 | RHSA-2024:1873 |
| Red Hat Enterprise Linux | RHEL-8 | shim-ia32x86_64 | Advisory build | 15.8-2.el8_6 | RHSA-2024:2086 |
| Red Hat Enterprise Linux | RHEL-8 | shim-ia32x86_64 | Advisory build | 15.8-4.el8_9 | RHSA-2024:1902 |
| Red Hat Enterprise Linux | RHEL-8 | shim-x64x86_64 | Advisory build | 15.8-2.el8 | RHSA-2024:1883 |
| Red Hat Enterprise Linux | RHEL-8 | shim-x64x86_64 | Advisory build | 15.8-2.el8_2 | RHSA-2024:1834 |
| Red Hat Enterprise Linux | RHEL-8 | shim-x64x86_64 | Advisory build | 15.8-2.el8_4 | RHSA-2024:1873 |
| Red Hat Enterprise Linux | RHEL-8 | shim-x64x86_64 | Advisory build | 15.8-2.el8_6 | RHSA-2024:2086 |
| Red Hat Enterprise Linux | RHEL-8 | shim-x64x86_64 | Advisory build | 15.8-4.el8_9 | RHSA-2024:1902 |
| Red Hat Enterprise Linux | RHEL-9 | shim-aa64aarch64 | Advisory build | 15.8-3.el9 | RHSA-2024:1835 |
| Red Hat Enterprise Linux | RHEL-9 | shim-aa64aarch64 | Advisory build | 15.8-3.el9_2 | RHSA-2024:1876 |
| Red Hat Enterprise Linux | RHEL-9 | shim-aa64aarch64 | Advisory build | 15.8-4.el9_3 | RHSA-2024:1903 |
| Red Hat Enterprise Linux | RHEL-9 | shim-x64x86_64 | Advisory build | 15.8-3.el9 | RHSA-2024:1835 |
| Red Hat Enterprise Linux | RHEL-9 | shim-x64x86_64 | Advisory build | 15.8-3.el9_2 | RHSA-2024:1876 |
| Red Hat Enterprise Linux | RHEL-9 | shim-x64x86_64 | Advisory build | 15.8-4.el9_3 | RHSA-2024:1903 |
Description
A flaw was found in Shim when an error happened while creating a new ESL variable. If Shim fails to create the new variable, it tries to print an error message to the user; however, the number of parameters used by the logging function doesn't match the format string used by it, leading to a crash under certain circumstances.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.2 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 7 | 0:15.8-3.el7 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | 0:15.8-1.el7 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:15.8-4.el8_9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 0:15.8-2.el8_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.2 Telecommunications Update Service | 0:15.8-2.el8_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | 0:15.8-2.el8_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 0:15.8-2.el8_4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.4 Telecommunications Update Service | 0:15.8-2.el8_4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | 0:15.8-2.el8_4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | 0:15.8-2.el8_6 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 0:15.8-2.el8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 0:15.8-2.el8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:15.8-4.el9_3 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | 0:15.8-3.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | 0:15.8-2.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | 0:15.8-2.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 0:15.8-3.el9_2 and later (unaffected · rpm)Default: affected | redhat · cna |
Weaknesses
1- CWE-476 NULL Pointer Dereference
References
12- RHSA-2024:1834 https://access.redhat.com/errata/RHSA-2024:1834
- RHSA-2024:1835 https://access.redhat.com/errata/RHSA-2024:1835
- RHSA-2024:1873 https://access.redhat.com/errata/RHSA-2024:1873
- RHSA-2024:1876 https://access.redhat.com/errata/RHSA-2024:1876
- RHSA-2024:1883 https://access.redhat.com/errata/RHSA-2024:1883
- RHSA-2024:1902 https://access.redhat.com/errata/RHSA-2024:1902
- RHSA-2024:1903 https://access.redhat.com/errata/RHSA-2024:1903
- RHSA-2024:1959 https://access.redhat.com/errata/RHSA-2024:1959
- RHSA-2024:2086 https://access.redhat.com/errata/RHSA-2024:2086
- https://access.redhat.com/security/cve/CVE-2023-40546
- RHBZ#2241796 https://bugzilla.redhat.com/show_bug.cgi?id=2241796
- https://lists.debian.org/debian-lts-announce/2024/05/msg00009.html
Provider assertions
3redhat · cna
Shim: out-of-bounds read printing error messages
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8307b2c99b95a7410688c2b4640a6c1df497a12883f24b4dad0a2ea6e7e22401
- Ingested
- 23 Sep 2026, 08:11:15 UTC
- Source record
- Official CVE record