Buffer overflow in Linux-Loader Project

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.

Vulnerability class: Buffer Overflow

EPSS: 0.002 (11.0th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-23523?
CVE-2022-23523 is a medium-severity vulnerability in Linux-Loader Project, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 4.0/10. Published 2022-12-13.
How severe is CVE-2022-23523?
Medium severity. CVSS v3 base score is 4.0 out of 10.