CVE-2022-23523CWE-119CWE-125

rust-vmm linux-loader vulnerable to Out-of-bounds Read

Medium · published December 13, 2022

CVSS v3.1
4.0
EPSS
0%
Percentile
11.5
In the wild
Unconfirmed
What it is

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 loaded or by verifying that the headers do not point beyond the end of the file.

The record
Technical detail
CVSS v3.1
4.0 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00216 · 11.5th percentile
Weaknesses
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer; CWE-125 · Out-of-bounds Read
Published
2022-12-13T07:41Z
EPSS history
Timeline
  • 13 DEC 07:41Z
    rust-vmm linux-loader vulnerable to Out-of-bounds Read
    cvelistv5