CVE-2012-4024
Description
Stack-based buffer overflow in the get_component function in unsquashfs.c in unsquashfs in Squashfs 4.2 and earlier allows remote attackers to execute arbitrary code via a crafted list file (aka a crafted file for the -ef option). NOTE: probably in most cases, the list file is a trusted file constructed by the program's user; however, there are some realistic situations in which a list file would be obtained from an untrusted remote source.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1:4.2+20121212-1 |
| sid | Fixed | 1:4.2+20121212-1 |
| forky | Fixed | 1:4.2+20121212-1 |
| bullseye | Fixed | 1:4.2+20121212-1 |
| bookworm | Fixed | 1:4.2+20121212-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| squashfs_project | squashfs | {"endIncluding":"4.2"} | |
References
- http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:128
- http://www.openwall.com/lists/oss-security/2012/07/19/6
- http://www.osvdb.org/83898
- http://www.securityfocus.com/bid/54610
- https://exchange.xforce.ibmcloud.com/vulnerabilities/77106
- https://security.gentoo.org/glsa/201612-40
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001
- https://security-tracker.debian.org/tracker/CVE-2012-4024
CWEs
CWE-787
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.