ID CVE-2012-4025
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:squashfs_project:squashfs:1.3:r3:*:*:*:*:*:*
    cpe:2.3:a:squashfs_project:squashfs:1.3:r3:*:*:*:*:*:*
  • cpe:2.3:a:squashfs_project:squashfs:2.0:*:*:*:*:*:*:*
    cpe:2.3:a:squashfs_project:squashfs:2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:squashfs_project:squashfs:2.1:-:*:*:*:*:*:*
    cpe:2.3:a:squashfs_project:squashfs:2.1:-:*:*:*:*:*:*
  • cpe:2.3:a:squashfs_project:squashfs:2.1:r2:*:*:*:*:*:*
    cpe:2.3:a:squashfs_project:squashfs:2.1:r2:*:*:*:*:*:*
  • cpe:2.3:a:squashfs_project:squashfs:2.2:r2:*:*:*:*:*:*
    cpe:2.3:a:squashfs_project:squashfs:2.2:r2:*:*:*:*:*:*
  • cpe:2.3:a:squashfs_project:squashfs:3.0:*:*:*:*:*:*:*
    cpe:2.3:a:squashfs_project:squashfs:3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:squashfs_project:squashfs:3.1:-:*:*:*:*:*:*
    cpe:2.3:a:squashfs_project:squashfs:3.1:-:*:*:*:*:*:*
  • cpe:2.3:a:squashfs_project:squashfs:3.1:r2:*:*:*:*:*:*
    cpe:2.3:a:squashfs_project:squashfs:3.1:r2:*:*:*:*:*:*
  • cpe:2.3:a:squashfs_project:squashfs:3.2:-:*:*:*:*:*:*
    cpe:2.3:a:squashfs_project:squashfs:3.2:-:*:*:*:*:*:*
  • cpe:2.3:a:squashfs_project:squashfs:3.2:r2:*:*:*:*:*:*
    cpe:2.3:a:squashfs_project:squashfs:3.2:r2:*:*:*:*:*:*
  • cpe:2.3:a:squashfs_project:squashfs:3.3:*:*:*:*:*:*:*
    cpe:2.3:a:squashfs_project:squashfs:3.3:*:*:*:*:*:*:*
  • cpe:2.3:a:squashfs_project:squashfs:3.4:*:*:*:*:*:*:*
    cpe:2.3:a:squashfs_project:squashfs:3.4:*:*:*:*:*:*:*
  • cpe:2.3:a:squashfs_project:squashfs:4.0:*:*:*:*:*:*:*
    cpe:2.3:a:squashfs_project:squashfs:4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:squashfs_project:squashfs:4.1:*:*:*:*:*:*:*
    cpe:2.3:a:squashfs_project:squashfs:4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:squashfs_project:squashfs:4.2:*:*:*:*:*:*:*
    cpe:2.3:a:squashfs_project:squashfs:4.2:*:*:*:*:*:*:*
CVSS
Base: 6.8 (as of 10-01-2020 - 19:08)
Impact:
Exploitability:
CWE CWE-190
CAPEC
  • Forced Integer Overflow
    This attack forces an integer variable to go out of range. The integer variable is often used as an offset such as size of memory allocation or similarly. The attacker would typically control the value of such variable and try to get it out of range. For instance the integer in question is incremented past the maximum possible value, it may wrap to become a very small, or negative number, therefore providing a very incorrect value which can lead to unexpected behavior. At worst the attacker can execute arbitrary code.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:M/Au:N/C:P/I:P/A:P
refmap via4
bid 54610
confirm https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001
gentoo GLSA-201612-40
mandriva MDVSA-2013:128
misc http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel
mlist [oss-security] 20120719 CVE-2012-4024 and CVE-2012-4025: Squashfs overflows
osvdb 83899
Last major update 10-01-2020 - 19:08
Published 19-07-2012 - 19:55
Last modified 10-01-2020 - 19:08
Back to Top