{"id":"CVE-2012-4024","state":"PUBLISHED","title":"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 ","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.","publishedAt":"2012-07-19T19:00:00.000Z","updatedAt":"2024-08-06T20:21:04.286Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.openwall.com/lists/oss-security/2012/07/19/6","http://www.osvdb.org/83898","https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001","http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel","http://www.securityfocus.com/bid/54610","https://security.gentoo.org/glsa/201612-40","http://www.mandriva.com/security/advisories?name=MDVSA-2013:128","https://exchange.xforce.ibmcloud.com/vulnerabilities/77106"],"weaknesses":[],"ingestedAt":"2026-10-29T19:40:25.231Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2012/4xxx/CVE-2012-4024.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2012-4024","state":"PUBLISHED","datePublished":"2012-07-19T19:00:00.000Z","dateUpdated":"2024-08-06T20:21:04.286Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2012-07-16T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2012/07/19/6","name":"[oss-security] 20120719 CVE-2012-4024 and CVE-2012-4025: Squashfs overflows","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.osvdb.org/83898","name":"83898","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001","tags":["x_refsource_CONFIRM"]},{"url":"http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/54610","name":"54610","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://security.gentoo.org/glsa/201612-40","name":"GLSA-201612-40","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:128","name":"MDVSA-2013:128","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/77106","name":"squashfs-getcomponent-bo(77106)","tags":["vdb-entry","x_refsource_XF"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-11-30T17:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2012-07-18T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2012-4024","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"[oss-security] 20120719 CVE-2012-4024 and CVE-2012-4025: Squashfs overflows","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2012/07/19/6"},{"name":"83898","refsource":"OSVDB","url":"http://www.osvdb.org/83898"},{"name":"https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001","refsource":"CONFIRM","url":"https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001"},{"name":"http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel","refsource":"MISC","url":"http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel"},{"name":"54610","refsource":"BID","url":"http://www.securityfocus.com/bid/54610"},{"name":"GLSA-201612-40","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201612-40"},{"name":"MDVSA-2013:128","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:128"},{"name":"squashfs-getcomponent-bo(77106)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/77106"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2012/07/19/6","name":"[oss-security] 20120719 CVE-2012-4024 and CVE-2012-4025: Squashfs overflows","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.osvdb.org/83898","name":"83898","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.securityfocus.com/bid/54610","name":"54610","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://security.gentoo.org/glsa/201612-40","name":"GLSA-201612-40","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:128","name":"MDVSA-2013:128","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/77106","name":"squashfs-getcomponent-bo(77106)","tags":["vdb-entry","x_refsource_XF","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T20:21:04.286Z"}}]}}}