{"api_version":"1","generated_at":"2026-07-23T13:03:51+00:00","cve":"CVE-2022-23523","urls":{"html":"https://cve.report/CVE-2022-23523","api":"https://cve.report/api/cve/CVE-2022-23523.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-23523","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-23523"},"summary":{"title":"CVE-2022-23523","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-12-13 08:15:00","updated_at":"2023-06-27 14:59:00"},"problem_types":["NVD-CWE-Other"],"metrics":[],"references":[{"url":"https://github.com/rust-vmm/linux-loader/pull/125","name":"https://github.com/rust-vmm/linux-loader/pull/125","refsource":"MISC","tags":[],"title":"loader: x86_64: elf: Avoid reading beyond file end by likebreath · Pull Request #125 · rust-vmm/linux-loader · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/rust-vmm/linux-loader/security/advisories/GHSA-52h2-m2cf-9jh6","name":"https://github.com/rust-vmm/linux-loader/security/advisories/GHSA-52h2-m2cf-9jh6","refsource":"MISC","tags":[],"title":"Reading beyond EOF could lead to infinite loop · Advisory · rust-vmm/linux-loader · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-23523","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23523","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"23523","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"linux-loader_project","cpe5":"linux-loader","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"rust","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-23523","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-125: Out-of-bounds Read","cweId":"CWE-125"}]},{"description":[{"lang":"eng","value":"CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer","cweId":"CWE-119"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"rust-vmm","product":{"product_data":[{"product_name":"linux-loader","version":{"version_data":[{"version_value":"< 0.8.1","version_affected":"="}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/rust-vmm/linux-loader/security/advisories/GHSA-52h2-m2cf-9jh6","refsource":"MISC","name":"https://github.com/rust-vmm/linux-loader/security/advisories/GHSA-52h2-m2cf-9jh6"},{"url":"https://github.com/rust-vmm/linux-loader/pull/125","refsource":"MISC","name":"https://github.com/rust-vmm/linux-loader/pull/125"}]},"source":{"advisory":"GHSA-52h2-m2cf-9jh6","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":4,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}]}},"nvd":{"publishedDate":"2022-12-13 08:15:00","lastModifiedDate":"2023-06-27 14:59:00","problem_types":["NVD-CWE-Other"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:linux-loader_project:linux-loader:*:*:*:*:*:rust:*:*","versionEndExcluding":"0.8.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"23523","Ordinal":"226350","Title":"CVE-2022-23523","CVE":"CVE-2022-23523","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"23523","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}