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


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.06% (30th 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-RHEL8-SHIMX64-6189318
  • published25 Jan 2024
  • disclosed3 Oct 2023

Introduced: 3 Oct 2023

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 RHEL:8 shim-x64 to version 0:15.8-4.el8_9 or higher.
This issue was patched in RHSA-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 RHEL. See How to fix? for RHEL: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