Skip to content
OpenAdvisories
Unscored CVE-2012-4024 EUVD-2012-3968GHSA-r5cx-4556-w7x7

Stack-based buffer overflow in the get_component function in unsquashfs.c in unsquashfs in Squashfs 4.2 and earlier allows remote attackers…

Published Jul 19, 2012 · Updated Aug 6, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 squashfs-tools 1:4.2+20121212-1 —
Debian 13 squashfs-tools 1:4.2+20121212-1 —
Debian 12 squashfs-tools 1:4.2+20121212-1 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed squashfs 4.3-9.3 openSUSE-SU-2024:10201-1

Advisories 1

References