SB2023071613 - Multiple vulnerabilities in LibTIFF
Published: July 16, 2023 Updated: August 16, 2023
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 5 secuirty vulnerabilities.
1) NULL pointer dereference (CVE-ID: CVE-2023-3316)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error within the TIFFClose() function. A remote attacker can pass specially TIFf file to the application and perform a denial of service (DoS) attack.
2) Buffer overflow (CVE-ID: CVE-2023-26966)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the uv_encode() function. A remote attacker can pass a specially crafted TIFF file to the application, trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
3) Heap-based buffer overflow (CVE-ID: CVE-2023-26965)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the loadImage() function in tools/tiffcrop.c. A remote attacker can pass specially crafted TIFF file 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.
4) Buffer overflow (CVE-ID: CVE-2023-25433)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error when processing TIFF images within the rotateImage() function in /libtiff/tools/tiffcrop.c. A remote attacker can pass a specially crafted image to the application, trigger memory corruption and perform a denial of service (DoS) attack.
5) Memory leak (CVE-ID: CVE-2023-3576)
The vulnerability allows a remote attacker to perform DoS attack on the target system.
The vulnerability exists due memory leak in tools/tiffcrop.c when handling TIFF files. A remote attacker can force the application to leak memory and perform denial of service attack.
Remediation
Install update from vendor's website.
References
- https://research.jfrog.com/vulnerabilities/libtiff-nullderef-dos-xray-522144/
- https://gitlab.com/libtiff/libtiff/-/merge_requests/468
- https://gitlab.com/libtiff/libtiff/-/issues/515
- https://gitlab.com/libtiff/libtiff/-/issues/530
- https://gitlab.com/libtiff/libtiff/-/merge_requests/473
- https://gitlab.com/libtiff/libtiff/-/merge_requests/472
- https://security.netapp.com/advisory/ntap-20230706-0009/
- https://gitlab.com/libtiff/libtiff/-/issues/520
- https://gitlab.com/libtiff/libtiff/-/merge_requests/467
- https://bugzilla.redhat.com/show_bug.cgi?id=2219340
- https://gitlab.com/libtiff/libtiff/-/merge_requests/475