Heap-based buffer overflow in LibTIFF - CVE-2023-30774

 

Heap-based buffer overflow in LibTIFF - CVE-2023-30774

Published: May 9, 2023


Vulnerability identifier: #VU75890
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-30774
CWE-ID: CWE-122
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 a boundary error related to TIFFTAG_INKNAMES and  TIFFTAG_NUMBEROFINKS value. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

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


Affected software

LibTIFF
Oracle Linux
Amazon Linux AMI
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Oracle Solaris
macOS
Data Lakehouse
IBM Watson Discovery for IBM Cloud Pak for Data
libtiff
libtiff (Red Hat package)
Datacap

How to mitigate CVE-2023-30774

Install updates from vendor's website.

Data Lakehouse - update to 1.1.0.0
macOS - update to 14.1 23B74
libtiff - addressed in versions 4.0.3-35.47, 4.4.0-4
libtiff (Red Hat package) - update to 4.4.0-7.el9
IBM Watson Discovery for IBM Cloud Pak for Data - update to 4.8.3
Datacap - update to 9.1.9.0.4

External References

Related Security Bulletins