CVE-2017-11613

NameCVE-2017-11613
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1391-1, DLA-1411-1
NVD severitymedium (attack range: remote)
Debian Bugs869823

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tiff (PTS)jessie4.0.3-12.3+deb8u5vulnerable
jessie (security)4.0.3-12.3+deb8u6fixed
stretch (security), stretch4.0.8-2+deb9u2vulnerable
buster, sid4.0.9-6fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tiffsource(unstable)4.0.9-5low869823
tiffsourcejessie4.0.3-12.3+deb8u6mediumDLA-1411-1
tiffsourcewheezy4.0.2-6+deb7u21mediumDLA-1391-1
tiff3source(unstable)(unfixed)medium

Notes

[stretch] - tiff <postponed> (Minor issue, revisit once fixed upstream)
[wheezy] - tiff3 <postponed> (Minor issue, revisit once fixed upstream)
https://gist.github.com/dazhouzhou/1a3b7400547f23fe316db303ab9b604f
http://bugzilla.maptools.org/show_bug.cgi?id=2724
https://bugzilla.redhat.com/show_bug.cgi?id=1475530
Upstream fix 1/2: https://gitlab.com/libtiff/libtiff/commit/3719385a3fac5cfb20b487619a5f08abbf967cf8
Upstream fix 2/2: https://gitlab.com/libtiff/libtiff/commit/7a092f8af2568d61993a8cc2e7a35a998d7d37be

Search for package or bug name: Reporting problems