CVE-2022-23523Improper Restriction of Operations within the Bounds of a Memory Buffer in Linux-loader

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 86.40%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 13

Description

In versions prior to 0.8.1, the linux-loader crate uses the offsets and sizes provided in the ELF headers to determine the offsets to read from. If those offsets point beyond the end of the file this could lead to Virtual Machine Monitors using the `linux-loader` crate entering an infinite loop if the ELF header of the kernel they are loading was modified in a malicious manner. This issue has been addressed in 0.8.1. The issue can be mitigated by ensuring that only trusted kernel images are load

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages7 packages

Patches

🔴Vulnerability Details

2
OSV
linux-loader reading beyond EOF could lead to infinite loop2022-12-12
GHSA
linux-loader reading beyond EOF could lead to infinite loop2022-12-12

📋Vendor Advisories

1
Microsoft
rust-vmm linux-loader vulnerable to Out-of-bounds Read2022-12-13
CVE-2022-23523 — Rust-vmm Linux-loader vulnerability | cvebase