CVE-2023-40546
published 2024-01-29CVE-2023-40546: 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…
PriorityP419medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.43%
35.1th percentile
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.
Affected
24 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | shim | < shim 15.8-1~deb12u1 (bookworm) | shim 15.8-1~deb12u1 (bookworm) |
| fedoraproject | fedora | — | — |
| msrc | azl3_shim-unsigned-aarch64_15.4-2_on_azure_linux_3.0 | — | — |
| msrc | azl3_shim-unsigned-aarch64_15.8-5_on_azure_linux_3.0 | — | — |
| msrc | azl3_shim-unsigned-x64_15.4-3_on_azure_linux_3.0 | — | — |
| msrc | azl3_shim-unsigned-x64_15.8-5_on_azure_linux_3.0 | — | — |
| msrc | azl3_shim_15.4-2_on_azure_linux_3.0 | — | — |
| msrc | azl3_shim_15.8-5_on_azure_linux_3.0 | — | — |
| msrc | azure_linux_3.0_arm | — | — |
| msrc | azure_linux_3.0_x64 | — | — |
| msrc | cbl2_shim-unsigned-aarch64_15-5_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_shim-unsigned-x64_15.4-2_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_shim-unsigned-x64_15.8-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_shim_15.4-2_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_shim_15.8-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | shim | < 15.8 | 15.8 |
| redhat | shim | >= 0 < 15.8-1~deb11u1 | 15.8-1~deb11u1 |
| redhat | shim | >= 0 < 15.8-1~deb12u1 | 15.8-1~deb12u1 |
| redhat | shim | >= 0 < 15.8-1 | 15.8-1 |
| redhat | shim | >= 0 < 15.8-1 | 15.8-1 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian6.2MEDIUM
vendor_redhat6.2MEDIUM
vendor_msrc5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
shim: Out-of-bounds read printing error messages
vendor_redhat·2024-01-23·CVSS 6.2
CVE-2023-40546 [MEDIUM] CWE-476 shim: Out-of-bounds read printing error messages
shim: Out-of-bounds read printing error messages
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.
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.
Mitigation: There's no available mitigation for this issue.
Microsoft
Shim: out-of-bounds read printing error messages
vendor_msrc·2024-01-09·CVSS 5.5
CVE-2023-40546 [MEDIUM] CWE-476 Shim: out-of-bounds read printing error messages
Shim: out-of-bounds read printing error messages
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
redhat: redhat
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.micr
Debian
CVE-2023-40546: shim - A flaw was found in Shim when an error happened while creating a new ESL variabl...
vendor_debian·2023·CVSS 6.2
CVE-2023-40546 [MEDIUM] CVE-2023-40546: shim - A flaw was found in Shim when an error happened while creating a new ESL variabl...
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.
Scope: local
bookworm: resolved (fixed in 15.8-1~deb12u1)
bullseye: resolved (fixed in 15.8-1~deb11u1)
forky: resolved (fixed in 15.8-1)
sid: resolved (fixed in 15.8-1)
trixie: resolved (fixed in 15.8-1)
OSV
CVE-2023-40546: A flaw was found in Shim when an error happened while creating a new ESL variable
osv·2024-01-29·CVSS 5.5
CVE-2023-40546 [MEDIUM] CVE-2023-40546: A flaw was found in Shim when an error happened while creating a new ESL variable
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.
GHSA
GHSA-9fh5-955w-9jfh: A flaw was found in Shim when an error happened while creating a new ESL variable
ghsa_unreviewed·2024-01-29
CVE-2023-40546 [MEDIUM] CWE-476 GHSA-9fh5-955w-9jfh: A flaw was found in Shim when an error happened while creating a new ESL variable
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://access.redhat.com/errata/RHSA-2024:1834https://access.redhat.com/errata/RHSA-2024:1835https://access.redhat.com/errata/RHSA-2024:1873https://access.redhat.com/errata/RHSA-2024:1876https://access.redhat.com/errata/RHSA-2024:1883https://access.redhat.com/errata/RHSA-2024:1902https://access.redhat.com/errata/RHSA-2024:1903https://access.redhat.com/errata/RHSA-2024:1959https://access.redhat.com/errata/RHSA-2024:2086https://access.redhat.com/security/cve/CVE-2023-40546https://bugzilla.redhat.com/show_bug.cgi?id=2241796https://access.redhat.com/errata/RHSA-2024:1834https://access.redhat.com/errata/RHSA-2024:1835https://access.redhat.com/errata/RHSA-2024:1873https://access.redhat.com/errata/RHSA-2024:1876https://access.redhat.com/errata/RHSA-2024:1883https://access.redhat.com/errata/RHSA-2024:1902https://access.redhat.com/errata/RHSA-2024:1903https://access.redhat.com/errata/RHSA-2024:1959https://access.redhat.com/errata/RHSA-2024:2086https://access.redhat.com/security/cve/CVE-2023-40546https://bugzilla.redhat.com/show_bug.cgi?id=2241796https://lists.debian.org/debian-lts-announce/2024/05/msg00009.html
2024-01-29
Published