Improper Input Validation Affecting tiff package, versions <4.0.6-1ubuntu0.4


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.82% (86th 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-UBUNTU1604-TIFF-405760
  • published26 Jul 2017
  • disclosed26 Jul 2017

Introduced: 26 Jul 2017

CVE-2017-11613  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 tiff to version 4.0.6-1ubuntu0.4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tiff package and not the tiff package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

In LibTIFF 4.0.8, there is a denial of service vulnerability in the TIFFOpen function. A crafted input will lead to a denial of service attack. During the TIFFOpen process, td_imagelength is not checked. The value of td_imagelength can be directly controlled by an input file. In the ChopUpSingleUncompressedStrip function, the _TIFFCheckMalloc function is called based on td_imagelength. If we set the value of td_imagelength close to the amount of system memory, it will hang the system or trigger the OOM killer.