CVE-2024-57262: Integer Overflow
In barebox before 2025.01.0, ext4fsreadsymlink has an integer overflow for zalloc (adding one to an le32 variable) via a crafted ext4 filesystem with an inode size of 0xffffffff, resulting in a malloc of zero and resultant memory overwrite, a related issue to CVE-2024-57256.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-57262?
CVE-2024-57262 is classified as a moderate severity vulnerability due to the potential for memory overwrite issues.
How do I fix CVE-2024-57262?
To fix CVE-2024-57262, upgrade barebox to version 2025.01.0 or later.
What is the impact of CVE-2024-57262 on affected systems?
The impact of CVE-2024-57262 includes possible memory corruption and system instability when processing a crafted ext4 filesystem.
Which versions of barebox are affected by CVE-2024-57262?
CVE-2024-57262 affects all versions of barebox before 2025.01.0.
What causes the vulnerability in CVE-2024-57262?
The vulnerability in CVE-2024-57262 is caused by an integer overflow when adding one to an le32 variable in the ext4fs_read_symlink function.