Alpine: libtiffxx, multiple tiff packages: security update to 4.0.9-r6

high Tenable Self-Hosted Container Security Plugin ID 424542

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- 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)

- In LibTIFF 4.0.8, there is a heap-based buffer overflow in the t2p_write_pdf function in tools/tiff2pdf.c.
This heap overflow could lead to different damages. For example, a crafted TIFF document can lead to an
out-of-bounds read in TIFFCleanup, an invalid free in TIFFClose or t2p_free, memory corruption in
t2p_readwrite_pdf_image, or a double free in t2p_free. Given these possibilities, it probably could cause
arbitrary code execution. (CVE-2017-9935)

- 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.
(CVE-2017-11613)

- tools/pal2rgb.c in pal2rgb in LibTIFF 4.0.9 allows remote attackers to cause a denial of service
(TIFFSetupStrips heap-based buffer overflow and application crash) or possibly have unspecified other
impact via a crafted TIFF file. (CVE-2017-17095)

- TIFFWriteScanline in tif_write.c in LibTIFF 3.8.2 has a heap-based buffer over-read, as demonstrated by
bmp2tiff. (CVE-2018-10779)

See Also

https://security.alpinelinux.org/vuln/CVE-2017-9935

https://security.alpinelinux.org/vuln/CVE-2017-11613

https://security.alpinelinux.org/vuln/CVE-2017-17095

https://security.alpinelinux.org/vuln/CVE-2018-10779

https://security.alpinelinux.org/vuln/CVE-2018-10963

https://security.alpinelinux.org/vuln/CVE-2018-17100

https://security.alpinelinux.org/vuln/CVE-2018-17101

Plugin Details

Severity: High

ID: 424542

Version: Revision 1.7

Type: Local

Published: 4/4/2025

Updated: 5/30/2025

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2018-17101

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 6/26/2017

Reference Information

CVE: CVE-2017-11613, CVE-2017-17095, CVE-2017-9935, CVE-2018-10779, CVE-2018-10963, CVE-2018-17100, CVE-2018-17101

BID: 99296, 99977, 102124, 104089, 107658, 105370