Skip to main content
← All vulnerabilities
CVE-2022-23523GHSA-52H2-M2CF-9JH6

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.8.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • rust-vmm linux-loader

    fixed in 0.8.1

  • linux-loadercrates.io

    fixed in 0.8.1

References 2

GitHub · rust-vmm/linux-loader