Integer Overflow or Wraparound Affecting plougher/squashfs-tools package, versions [,4.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.85% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PLOUGHERSQUASHFSTOOLS-2428850
  • published26 Jan 2022
  • disclosed19 Jul 2012
  • creditUnknown

Introduced: 19 Jul 2012

CVE-2012-4025  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade plougher/squashfs-tools to version 4.3 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. 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.

CVSS Base Scores

version 3.1