CVE-2022-23523: linux-loader reading beyond EOF could lead to infinite loop
1.9
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.04191%
CWE
Published
12/12/2022
Updated
1/31/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| linux-loader | rust | < 0.8.1 | 0.8.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from using read_from() with ELF-supplied offsets without validating against actual file size. The commit replaced these with read_exact(), which validates full reads. The affected code paths were: 1) ELF header parsing, 2) program header loop, and 3) note header processing. All three locations used the vulnerable read pattern and were directly modified in the security patch.