CVEfocus › CVE database › CVE-2012-4024

CVE-2012-4024

EPSS 4.0% (higher than 91% of CVEs)Published 2012-07-19Updated 2024-08-06Assigner: mitre

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.

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
1Will not fix
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04squashfs-toolsNot affected
vulnerable_code_not_present
Ubuntu 14.04squashfs-toolsNot affected
vulnerable_code_not_present
Debian 14squashfs-toolsFixed1:4.2+20121212-1DEBIAN-CVE-2012-4024
Debian 13squashfs-toolsFixed1:4.2+20121212-1DEBIAN-CVE-2012-4024
Debian 12squashfs-toolsFixed1:4.2+20121212-1DEBIAN-CVE-2012-4024
Red Hat Enterprise Linux 6squashfs-toolsWill not fix
Will not fix
Red Hat Enterprise Linux 5squashfs-toolsNot affected

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.