Improper Input Validation Affecting libtiff package, versions [,4.0.10)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.5% (64th 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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LIBTIFF-2327453
  • published29 Dec 2021
  • disclosed26 Jul 2017
  • creditUnknown

Introduced: 26 Jul 2017

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

How to fix?

Upgrade libtiff to version 4.0.10 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. 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.

CVSS Base Scores

version 3.1