CVE-2023-0795: Medium severity IBM Cognos Analytics vulnerability
A flaw was found in tiffcrop, a program distributed by the libtiff package. A specially crafted tiff file can lead to an out-of-bounds read in the extractContigSamplesShifted16bits function in tools/tiffcrop.c, resulting in a Denial of Service and limited information disclosure.
Other sources
LibTIFF 4.4.0 has an out-of-bounds read in tiffcrop in tools/tiffcrop.c:3488, allowing attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit afaabc3e.
LibTIFF is vulnerable to a denial of service, caused by a segmentation fault when processing TIFF files in extractContigSamplesShifted8bits in tools/tiffcrop.c. By persuading a victim to open a specially-crafted TIFF file, a remote attacker could overflow a buffer and cause a denial of service.
— IBM
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/libtiffto a version that resolves this vulnerability.Fixed in 0:4.4.0-8.el9_2 - Upgrade
Upgrade
debian/tiffto a version that resolves this vulnerability.Fixed in 4.1.0+git191117-2~deb10u8Fixed in 4.2.0-1+deb11u4Fixed in 4.5.0-6Fixed in 4.5.1+git230720-1 - Upgrade
Upgrade
ubuntu/tiffto a version that resolves this vulnerability.Fixed in 4.0.3-7ubuntu0.11+esm7 - Upgrade
Upgrade
ubuntu/tiffto a version that resolves this vulnerability.Fixed in 4.0.6-1ubuntu0.8+esm10 - Upgrade
Upgrade
ubuntu/tiffto a version that resolves this vulnerability.Fixed in 4.0.9-5ubuntu0.10 - Upgrade
Upgrade
ubuntu/tiffto a version that resolves this vulnerability.Fixed in 4.1.0+git191117-2ubuntu0.20.04.8 - Upgrade
Upgrade
ubuntu/tiffto a version that resolves this vulnerability.Fixed in 4.3.0-6ubuntu0.4 - Upgrade
Upgrade
libtiffto a version that resolves this vulnerability.Patch afaabc3e50d4e5d80a94143f7e3c997e7e410f68
Event History
Frequently Asked Questions
What is CVE-2023-0795?
CVE-2023-0795 is a vulnerability in LibTIFF 4.4.0 that allows attackers to cause a denial-of-service via a crafted tiff file.
How does CVE-2023-0795 affect LibTIFF?
CVE-2023-0795 affects LibTIFF 4.4.0, specifically the tiffcrop tool in tools/tiffcrop.c:3488.
How can an attacker exploit CVE-2023-0795?
An attacker can exploit CVE-2023-0795 by using a crafted tiff file to trigger an out-of-bounds read in the tiffcrop tool.
How can I fix CVE-2023-0795 in LibTIFF?
If you compile libtiff from sources, the fix for CVE-2023-0795 is available with commit afaabc3e.
Where can I find more information about CVE-2023-0795?
You can find more information about CVE-2023-0795 at the following references: [link1](https://security-tracker.debian.org/tracker/CVE-2023-0795) [link2](https://security-tracker.debian.org/tracker/CVE-2023-0796) [link3](https://security-tracker.debian.org/tracker/CVE-2023-0797)