Heap-based buffer overflow in LibTIFF - CVE-2022-1354

 

Heap-based buffer overflow in LibTIFF - CVE-2022-1354

Published: September 20, 2022


Vulnerability identifier: #VU67498
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-2022-1354
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 TIFFReadRawDataStriped() function in tiffinfo.c. A remote attacker can pass specially crafted TIFF file to the application that is using the affected library, 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
Amazon Linux AMI
Oracle Linux
Gentoo Linux
Debian Linux
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Ubuntu
openEuler
Fedora
Data Lakehouse
IBM Cloud Pak for Security
IBM Cloud Pak for Business Automation
IBM Watson Discovery for IBM Cloud Pak for Data
QRadar Suite
Business Automation Insights
Dell PowerProtect Cyber Recovery
HPE Moonshot 1500 Chassis Manager
libtiff-opengl (Ubuntu package)
libtiff-tools (Ubuntu package)
libtiffxx5 (Ubuntu package)
libtiff5 (Ubuntu package)
tiff (Debian package)
libtiff
libtiff-help
libtiff-debugsource
libtiff-devel
libtiff-debuginfo
media-libs/tiff
libtiff (Red Hat package)

How to mitigate CVE-2022-1354

Install updates from vendor's website.

LibTIFF - update to 4.4.0
Data Lakehouse - update to 1.1.0.0
IBM Cloud Pak for Security - update to 1.11.3.0
QRadar Suite - update to 1.11.3.0
IBM Cloud Pak for Business Automation - addressed in versions 24.0.0-IF005, 24.0.1-IF004, 25.0.0
Business Automation Insights - update to 24.0.1.0.4
HPE Moonshot 1500 Chassis Manager - update to 4.0-b43
libtiff-opengl (Ubuntu package) - addressed in versions 4.0.9-5ubuntu0.7, 4.1.0+git191117-2ubuntu0.20.04.5, 4.3.0-6ubuntu0.1
libtiff-tools (Ubuntu package) - addressed in versions 4.0.9-5ubuntu0.7, 4.1.0+git191117-2ubuntu0.20.04.5, 4.3.0-6ubuntu0.1
libtiffxx5 (Ubuntu package) - addressed in versions 4.0.9-5ubuntu0.7, 4.1.0+git191117-2ubuntu0.20.04.5, 4.3.0-6ubuntu0.1
libtiff5 (Ubuntu package) - addressed in versions 4.0.9-5ubuntu0.7, 4.1.0+git191117-2ubuntu0.20.04.5, 4.3.0-6ubuntu0.1
tiff (Debian package) - update to 4.2.0-1+deb11u3
libtiff - update to 4.3.0-2
libtiff-help - update to 4.3.0-2
libtiff-debugsource - update to 4.3.0-2
libtiff-devel - update to 4.3.0-2
libtiff-debuginfo - update to 4.3.0-2
media-libs/tiff - update to 4.4.0
libtiff - addressed in versions 4.4.0-1.fc34, 4.4.0-1.fc35, 4.4.0-1.fc36
libtiff (Red Hat package) - update to 4.4.0-2.el9
libtiff - update to 4.4.0-4
IBM Watson Discovery for IBM Cloud Pak for Data - update to 4.6.5
Dell PowerProtect Cyber Recovery - update to 19.14.0.1

External References

Related Security Bulletins