CVE-2022-23523 rust-vmm linux-loader vulnerable to Out-of-bounds Read
MediumCVSS 5.5
EPSS 0.22%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io linux-loader(crates.io) | < 0.8.1 | 0.8.1 | Fixed |
| linux-loader project linux-loader | < 0.8.1 | 0.8.1 | Fixed |
| rust-vmm linux-loader | = < 0.8.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io linux-loader(crates.io) | < 0.8.1 | 0.8.1 |
| rust-vmm linux-loader | = < 0.8.1 | No fix listed |
| linux-loader project linux-loader | < 0.8.1 | 0.8.1 |
References
- https://github.com/rust-vmm/linux-loader/security/advisories/GHSA-52h2-m2cf-9jh6 issue-tracking third-party-advisory vendor-advisory
- github.com patch
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/rust-vmm/linux-loader/pull/125 issue-tracking patch third-party-advisory
- github.com
- github.com product