ALAS2-2019-1327


Amazon Linux 2 Security Advisory: ALAS-2019-1327
Advisory Release Date: 2019-10-21 18:01 Pacific
Advisory Updated Date: 2019-10-23 23:52 Pacific
Severity: Medium

Issue Overview:

Buffer overflow in the readextension function in gif2tiff.c in LibTIFF 4.0.6 allows remote attackers to cause a denial of service (application crash) via a crafted GIF file.(CVE-2016-3186)

An integer overflow has been discovered in libtiff in TIFFSetupStrips:tif_write.c, which could lead to a heap-based buffer overflow in TIFFWriteScanline:tif_write.c. An attacker may use this vulnerability to corrupt memory or cause Denial of Service.(CVE-2018-10779)

The TIFFWriteDirectorySec() function in tif_dirwrite.c in LibTIFF through 4.0.9 allows remote attackers to cause a denial of service (assertion failure and application crash) via a crafted file, a different vulnerability than CVE-2017-13726. (CVE-2018-10963)

Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 4.0.9 allows remote attackers to cause a denial of service (crash) or possibly have unspecified other impact via a crafted TIFF file.(CVE-2018-12900)

An issue was discovered in LibTIFF 4.0.9. There is a int32 overflow in multiply_ms in tools/ppm2tiff.c, which can cause a denial of service (crash) or possibly have unspecified other impact via a crafted image file.(CVE-2018-17100)

An issue was discovered in LibTIFF 4.0.9. There are two out-of-bounds writes in cpTags in tools/tiff2bw.c and tools/pal2rgb.c, which can cause a denial of service (application crash) or possibly have unspecified other impact via a crafted image file.(CVE-2018-17101)

LibTIFF 4.0.9 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tif_jbig.c JBIGDecode out-of-bounds write.(CVE-2018-18557)

An issue was discovered in LibTIFF 4.0.9. There is a NULL pointer dereference in the function LZWDecode in the file tif_lzw.c.(CVE-2018-18661)

A NULL Pointer Dereference occurs in the function TIFFPrintDirectory in tif_print.c in LibTIFF 4.0.9 when using the tiffinfo tool to print crafted TIFF information, a different vulnerability than CVE-2017-18013. (This affects an earlier part of the TIFFPrintDirectory function that was not addressed by the CVE-2017-18013 patch.)(CVE-2018-7456)

In LibTIFF 4.0.9, a heap-based buffer overflow occurs in the function LZWDecodeCompat in tif_lzw.c via a crafted TIFF file, as demonstrated by tiff2ps.(CVE-2018-8905)


Affected Packages:

libtiff


Issue Correction:
Run yum update libtiff to update your system.

New Packages:
aarch64:
    libtiff-4.0.3-32.amzn2.aarch64
    libtiff-devel-4.0.3-32.amzn2.aarch64
    libtiff-static-4.0.3-32.amzn2.aarch64
    libtiff-tools-4.0.3-32.amzn2.aarch64
    libtiff-debuginfo-4.0.3-32.amzn2.aarch64

i686:
    libtiff-4.0.3-32.amzn2.i686
    libtiff-devel-4.0.3-32.amzn2.i686
    libtiff-static-4.0.3-32.amzn2.i686
    libtiff-tools-4.0.3-32.amzn2.i686
    libtiff-debuginfo-4.0.3-32.amzn2.i686

src:
    libtiff-4.0.3-32.amzn2.src

x86_64:
    libtiff-4.0.3-32.amzn2.x86_64
    libtiff-devel-4.0.3-32.amzn2.x86_64
    libtiff-static-4.0.3-32.amzn2.x86_64
    libtiff-tools-4.0.3-32.amzn2.x86_64
    libtiff-debuginfo-4.0.3-32.amzn2.x86_64