Vulnerability · Published Jan 29, 2024 · Assigned by redhat

CVE-2023-40549Shim: out-of-bounds read in verify_buffer_authenticode() malformed pe file

Medium 6.2

In plain English

A medium-severity out-of-bounds read 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 36% 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 64.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

An out-of-bounds read flaw was found in Shim due to the lack of proper boundary verification during the load of a PE binary. This flaw allows an attacker to load a crafted PE binary, triggering the issue and crashing Shim, resulting in a denial of service.

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-40549
Debian:13shim15.8-1DEBIAN-CVE-2023-40549
Debian:14shim15.8-1DEBIAN-CVE-2023-40549
Ubuntu:22.04:LTSshim15.8-0ubuntu1UBUNTU-CVE-2023-40549
Ubuntu:24.04:LTSshim15.8-0ubuntu1UBUNTU-CVE-2023-40549
Ubuntu:22.04:LTSshim-signed1.51.4UBUNTU-CVE-2023-40549
Ubuntu:24.04:LTSshim-signed1.58UBUNTU-CVE-2023-40549

Affected products (as reported)

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

References