← Back to CVEs
CVE-2022-23523
MEDIUM4.0
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 loaded or by verifying that the headers do not point beyond the end of the file.
CVE Details
CVSS v3.1 Score4.0
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Attack VectorLOCAL
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published12/13/2022
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
linux-loader_project:linux-loader
Weaknesses (CWE)
CWE-119CWE-125
References
https://github.com/rust-vmm/linux-loader/pull/125(security-advisories@github.com)
https://github.com/rust-vmm/linux-loader/security/advisories/GHSA-52h2-m2cf-9jh6(security-advisories@github.com)
https://github.com/rust-vmm/linux-loader/pull/125(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/rust-vmm/linux-loader/security/advisories/GHSA-52h2-m2cf-9jh6(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.