Resource exhaustion in LibTIFF - CVE-2018-5784

 

Resource exhaustion in LibTIFF - CVE-2018-5784

Published: April 3, 2018


Vulnerability identifier: #VU11500
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-5784
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The weakness exists in the TIFFSetDirectory function of tif_dir.c due to the declared number of directory entries is not validated against the actual number of directory entries. A remote attacker can submit a specially crafted tif file, trigger resource exhaustion and cause the service to crash.

Affected software

LibTIFF
Arch Linux
Debian Linux
Fedora
tiff (Alpine package)
libtiff

How to mitigate CVE-2018-5784

Install update from vendor's website.

tiff (Alpine package) - update to 4.0.9-r2
libtiff - addressed in versions 4.0.9-7.fc27, 4.0.9-7.fc28

External References

Related Security Bulletins