CVE-2012-4024 Memory corruption in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary code via a crafted list file processed by the unsquashfs utility, requiring user interaction to open the file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2012-4024?

CVE-2012-4024 is a medium-severity memory corruption vulnerability in n/a, published on 19 Jul 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-787

Which versions are affected by CVE-2012-4024?

It affects 1 product.

Products include Squashfs Project Squashfs.

How do I fix CVE-2012-4024?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2012-4024 being exploited?

There is no known exploitation of CVE-2012-4024 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2012-4024, GHSA-r5cx-4556-w7x7.

Is CVE-2012-4024 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free