Out-of-bounds write in LibTIFF - CVE-2018-18557

 

Out-of-bounds write in LibTIFF - CVE-2018-18557

Published: November 20, 2018 / Updated: November 20, 2018


Vulnerability identifier: #VU15967
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-18557
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to decoding of arbitrarily-sized JBIG into a buffer, ignoring the buffer size. A remote unauthenticated attacker can supply specially crafted input, trigger a tif_jbig.c JBIGDecode out-of-bounds write and execute arbitrary code with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

LibTIFF
Arch Linux
Amazon Linux AMI
Gentoo Linux
Debian Linux
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Opensuse
Fedora
tiff (Alpine package)
libtiff
BIG-IP AAM
Data Computing Appliance (DCA)

How to mitigate CVE-2018-18557

Install update from vendor's website.

tiff (Alpine package) - update to 4.0.10-r0
libtiff - addressed in versions 4.0.10-1.fc27, 4.0.10-1.fc28, 4.0.10-1.fc29
Data Computing Appliance (DCA) - update to 4.3.0.0

External References

Related Security Bulletins