CVE-2024-57258
Description
Integer overflows in memory allocation in Das U-Boot before 2025.01-rc1 occur for a crafted squashfs filesystem via sbrk, via request2size, or because ptrdiff_t is mishandled on x86_64.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2024-57258
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2024-57258.html
Vendor advisory: cve@mitre.org — https://www.openwall.com/lists/oss-security/2025/02/17/2
Vendor advisory: cve@mitre.org — https://source.denx.de/u-boot/u-boot/-/commit/c17b2a05dd50a3ba437e6373093a0d6a359cdee0
Vendor advisory: cve@mitre.org — https://source.denx.de/u-boot/u-boot/-/commit/8642b2178d2c4002c99a0b69a845a48f2ae2706f
Vendor advisory: cve@mitre.org — https://source.denx.de/u-boot/u-boot/-/commit/0a10b49206a29b4aa2f80233a3e53ca0466bb0b3
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 2023.01+dfsg-2+deb12u2 |
| debian | bullseye | fixed | 2021.01+dfsg-5+deb11u1 |
| debian | forky | fixed | 2025.01-1 |
| debian | sid | fixed | 2025.01-1 |
| debian | trixie | fixed | 2025.01-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| denx | u-boot | {"endIncluding":"2024.10"} | |
References
- https://source.denx.de/u-boot/u-boot/-/commit/0a10b49206a29b4aa2f80233a3e53ca0466bb0b3
- https://source.denx.de/u-boot/u-boot/-/commit/8642b2178d2c4002c99a0b69a845a48f2ae2706f
- https://source.denx.de/u-boot/u-boot/-/commit/c17b2a05dd50a3ba437e6373093a0d6a359cdee0
- https://www.openwall.com/lists/oss-security/2025/02/17/2
- https://lists.debian.org/debian-lts-announce/2025/05/msg00001.html
- https://cert-portal.siemens.com/productcert/html/ssa-577017.html
- https://www.suse.com/security/cve/CVE-2024-57258.html
- https://security-tracker.debian.org/tracker/CVE-2024-57258
CWEs
CWE-190
Verify integrity in audit chain (admin only). AS-IS.