Vulnerability · Published Jan 29, 2024 · Assigned by redhat

CVE-2023-40546Shim: out-of-bounds read printing error messages

Medium 6.2

In plain English

A medium-severity null pointer dereference in Red Hat Enterprise Linux 7 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.4%top 61.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8shim-aa6415.8-4.el8_9.alma.1ALSA-2024:1902
AlmaLinux:9shim-aa6415.8-4.el9_3.alma.1ALSA-2024:1903
AlmaLinux:8shim-ia3215.8-4.el8_9.alma.1ALSA-2024:1902
AlmaLinux:8shim-x6415.8-4.el8_9.alma.1ALSA-2024:1902
AlmaLinux:9shim-x6415.8-4.el9_3.alma.1ALSA-2024:1903
Debian:12shim15.8-1~deb12u1DEBIAN-CVE-2023-40546
Debian:13shim15.8-1DEBIAN-CVE-2023-40546
Debian:14shim15.8-1DEBIAN-CVE-2023-40546
Ubuntu:22.04:LTSshim15.8-0ubuntu1UBUNTU-CVE-2023-40546
Ubuntu:24.04:LTSshim15.8-0ubuntu1UBUNTU-CVE-2023-40546
Ubuntu:22.04:LTSshim-signed1.51.4UBUNTU-CVE-2023-40546
Ubuntu:24.04:LTSshim-signed1.58UBUNTU-CVE-2023-40546

Affected products (as reported)

Weakness: CWE-476 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References