{"id":"CVE-2022-23523","published":"2022-12-13T07:41:47Z","modified":"2025-04-18T18:28:35Z","title":"rust-vmm linux-loader vulnerable to Out-of-bounds Read","vendor":"rust-vmm","product":"linux-loader","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00218,"percentile":0.1256,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"references":[{"url":"https://github.com/rust-vmm/linux-loader/security/advisories/GHSA-52h2-m2cf-9jh6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rust-vmm/linux-loader/pull/125","tags":["x_refsource_MISC"]}],"priority":{"score":5.3,"factors":[{"name":"EPSS percentile","points":2.51},{"name":"CVSS severity","points":2.8}]},"vendorSlug":"rust-vmm","affectedVersions":[{"vendor":"rust-vmm","product":"linux-loader","versions":["< 0.8.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-18T18:28:11.983282Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"linux-loader","vulnerableRanges":["<0.8.1"],"patched":["0.8.1"],"from":["GHSA-52h2-m2cf-9jh6"],"provenance":"source"}],"summary":{"text":"The flaw is an out-of-bounds read in the linux-loader crate from rust-vmm, which trusts offsets and sizes taken from ELF headers and reads from positions past the end of the file in versions prior to 0.8.1. An attacker who can supply a maliciously modified kernel ELF image to a Virtual Machine Monitor that uses the crate can cause it to enter an infinite loop, with the attacker needing only local access and no privileges or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:40Z"},"euvd":{"id":"EUVD-2022-7510","exploited":false,"provenance":"source"}}