Buffer overflow in Linux-Loader Project
CVE-2022-23523
- CVSS v3
- 4.0 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 12.4th percentile
- Published
- 2022-12-13
What to do
- Fixed in
0.8.1- Affected
- 2 affected products
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.0 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.002, 12.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux-Loader Project
- Rust-Vmm Linux-Loader — versions < 0.8.1
Weakness classification (CWE)
References
- https://github.com/rust-vmm/linux-loader/security/advisories/GHSA-52h2-m2cf-9jh6 (Third Party Advisory, Issue Tracking)
- https://github.com/rust-vmm/linux-loader/pull/125 (Patch, Third Party Advisory, Issue Tracking)