Divide By Zero Affecting libtiff-devel package, versions <0:4.0.3-25.27.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.25% (65th 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-AMZN201803-LIBTIFFDEVEL-1700816
  • published27 Sept 2021
  • disclosed12 Mar 2018

Introduced: 12 Mar 2018

CVE-2014-8130  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 libtiff-devel to version 0:4.0.3-25.27.amzn1 or higher.
This issue was patched in ALAS-2016-733.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libtiff-devel package and not the libtiff-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

The _TIFFmalloc function in tif_unix.c in LibTIFF 4.0.3 does not reject a zero size, which allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted TIFF image that is mishandled by the TIFFWriteScanline function in tif_write.c, as demonstrated by tiffdither.