CVE-2022-23523

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.
References
Link Resource
https://github.com/rust-vmm/linux-loader/pull/125 Issue Tracking Patch Third Party Advisory
https://github.com/rust-vmm/linux-loader/security/advisories/GHSA-52h2-m2cf-9jh6 Issue Tracking Third Party Advisory
https://github.com/rust-vmm/linux-loader/pull/125 Issue Tracking Patch Third Party Advisory
https://github.com/rust-vmm/linux-loader/security/advisories/GHSA-52h2-m2cf-9jh6 Issue Tracking Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:linux-loader_project:linux-loader:*:*:*:*:*:rust:*:*

History

21 Nov 2024, 06:48

Type Values Removed Values Added
References () https://github.com/rust-vmm/linux-loader/pull/125 - Issue Tracking, Patch, Third Party Advisory () https://github.com/rust-vmm/linux-loader/pull/125 - Issue Tracking, Patch, Third Party Advisory
References () https://github.com/rust-vmm/linux-loader/security/advisories/GHSA-52h2-m2cf-9jh6 - Issue Tracking, Third Party Advisory () https://github.com/rust-vmm/linux-loader/security/advisories/GHSA-52h2-m2cf-9jh6 - Issue Tracking, Third Party Advisory
CVSS v2 : unknown
v3 : 5.5
v2 : unknown
v3 : 4.0

27 Jun 2023, 14:59

Type Values Removed Values Added
CWE CWE-125 NVD-CWE-Other

Information

Published : 2022-12-13 08:15

Updated : 2024-11-21 06:48


NVD link : CVE-2022-23523

Mitre link : CVE-2022-23523

CVE.ORG link : CVE-2022-23523


JSON object : View

Products Affected

linux-loader_project

  • linux-loader
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer

CWE-125

Out-of-bounds Read

NVD-CWE-Other