PT-2022-16049 · Unknown · Linux-Loader

Likebreath

·

Published

2022-12-12

·

Updated

2023-06-27

·

CVE-2022-23523

CVSS v3.1

4.0

Medium

VectorAV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions linux-loader versions prior to 0.8.1
Description The issue arises when the linux-loader crate uses offsets and sizes from ELF headers to determine read offsets. If these offsets point beyond the file's end, it could lead to an infinite loop in Virtual Machine Monitors using the linux-loader crate, especially if the kernel's ELF header is maliciously modified. The issue can be mitigated by loading only trusted kernel images or verifying that the headers do not point beyond the file's end.
Recommendations For versions prior to 0.8.1, update to version 0.8.1 to address the issue. As a temporary workaround, consider ensuring that only trusted kernel images are loaded or verifying that the headers do not point beyond the end of the file to minimize the risk of exploitation.

Exploit

Fix

Out of bounds Read

Infinite Loop

Buffer Overflow

Weakness Enumeration

Related Identifiers

CVE-2022-23523
GHSA-52H2-M2CF-9JH6

Affected Products

Linux-Loader