Integer Overflow or Wraparound Affecting apple/cups package, versions [,1.4.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
57.76% (98th 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 IDSNYK-UNMANAGED-APPLECUPS-2364851
  • published26 Jan 2022
  • disclosed30 Jul 2007
  • creditUnknown

Introduced: 30 Jul 2007

CVE-2007-3387  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade apple/cups to version 1.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. Integer overflow in the StreamPredictor::StreamPredictor function in xpdf 3.02, as used in (1) poppler before 0.5.91, (2) gpdf before 2.8.2, (3) kpdf, (4) kdegraphics, (5) CUPS, (6) PDFedit, and other products, might allow remote attackers to execute arbitrary code via a crafted PDF file that triggers a stack-based buffer overflow in the StreamPredictor::getNextLine function.

CVSS Scores

version 3.1