Integer overflow in the queue_init function in unsquashfs.c in unsquashfs in Squashfs 4.2 and earlier allows remote attackers to execute arbitrary code via a crafted block_log field in the superblock of a .sqsh file, leading to a heap-based buffer overflow.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
http://www.openwall.com/lists/oss-security/2012/07/19/6 | mailing list |
http://www.osvdb.org/83899 | vdb entry broken link |
https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001 | third party advisory |
http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel | third party advisory |
http://www.securityfocus.com/bid/54610 | vdb entry third party advisory |
https://security.gentoo.org/glsa/201612-40 | third party advisory vendor advisory |
http://www.mandriva.com/security/advisories?name=MDVSA-2013:128 | not applicable vendor advisory |