Integer Overflow or Wraparound Affecting shim-x64 package, versions <0:15.8-4.el8_9.alma.1


Severity

Recommended
0.0
high
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.07% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-SHIMX64-6836463
  • published11 May 2024
  • disclosed18 Apr 2024

Introduced: 18 Apr 2024

CVE-2023-40548  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 shim-x64 to version 0:15.8-4.el8_9.alma.1 or higher.
This issue was patched in ALSA-2024:1902.

NVD Description

Note: Versions mentioned in the description apply only to the upstream shim-x64 package and not the shim-x64 package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

A buffer overflow was found in Shim in the 32-bit system. The overflow happens due to an addition operation involving a user-controlled value parsed from the PE binary being used by Shim. This value is further used for memory allocation operations, leading to a heap-based buffer overflow. This flaw causes memory corruption and can lead to a crash or data integrity issues during the boot phase.

CVSS Scores

version 3.1