Out-of-Bounds Affecting apple/cups package, versions [,1.4.7)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
11.84% (96th 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-2364822
  • published26 Jan 2022
  • disclosed19 Aug 2011
  • creditUnknown

Introduced: 19 Aug 2011

CVE-2011-2896  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade apple/cups to version 1.4.7 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. The LZW decompressor in the LWZReadByte function in giftoppm.c in the David Koblas GIF decoder in PBMPLUS, as used in the gif_read_lzw function in filter/image-gif.c in CUPS before 1.4.7, the LZWReadByte function in plug-ins/common/file-gif-load.c in GIMP 2.6.11 and earlier, the LZWReadByte function in img/gifread.c in XPCE in SWI-Prolog 5.10.4 and earlier, and other products, does not properly handle code words that are absent from the decompression table when encountered, which allows remote attackers to trigger an infinite loop or a heap-based buffer overflow, and possibly execute arbitrary code, via a crafted compressed stream, a related issue to CVE-2006-1168 and CVE-2011-2895.

References

CVSS Scores

version 3.1