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

 

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

Published: May 9, 2023


Vulnerability identifier: #VU75891
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-30775
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 within the extractContigSamples32bits() function in tiffcrop.c. 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
libtiff
libtiff (Red Hat package)
IBM Watson Discovery for IBM Cloud Pak for Data
Datacap

How to mitigate CVE-2023-30775

Install updates from vendor's website.

libtiff - update to 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