Heap-based Buffer Overflow Affecting rhboot/shim package, versions [,15.8)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.44% (36th 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 Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-RHBOOTSHIM-6210002
  • published30 Jan 2024
  • disclosed30 Jan 2024
  • creditUnknown

Introduced: 30 Jan 2024

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

How to fix?

Upgrade rhboot/shim to version 15.8 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via an addition operation involving a user-controlled value parsed from the PE binary. An attacker can cause memory corruption and potentially execute arbitrary code by providing a crafted PE binary that triggers the overflow during the boot phase.

CVSS Base Scores

version 3.1