SB2019052601 - Multiple vulnerabilities in FreeImage
Published: May 26, 2019 Updated: August 29, 2023
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 5 secuirty vulnerabilities.
1) Out-of-bounds read (CVE-ID: CVE-2019-12214)
The vulnerability allows a remote attacker to perform denial of service attack.
The vulnerability exists due to a boundary condition when processing OpenJPEG files in the j2k_read_ppm_v3() function in j2k.c. A remote attacker can create a specially crafted image file, pass it to the affected application, trigger out-of-bounds read error and read contents of memory on the system.
2) Resource exhaustion (CVE-ID: CVE-2019-12213)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to an error when processing TIFF files in TIFFReadDirectory() function in PluginTIFF.cpp. A remote attacker can pass a specially crafted TIFF file to the affected application, trigger resource exhaustion and perform a denial of service (DoS) attack.3) Resource exhaustion (CVE-ID: CVE-2019-12212)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error in StreamCalcIFDSize() function in JXRMeta.c file when processing JPEG-XR (JXR) image files. A remote attacker can create a specially crafted JPEG-XR (JXR) image file, trigger resource exhaustion and perform a denial of service (DoS) attack.4) Heap-based buffer overflow (CVE-ID: CVE-2019-12211)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the load() function of the PluginTIFF.cpp file. A remote attacker can can create a specially crafted TIFF file, trigger 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.
5) Out-of-bounds read (CVE-ID: CVE-2021-33367)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary condition when handling JXR files. A remote attacker can create a specially crafted file, pass it to the application, trigger an out-of-bounds read error and perform a denial of service attack.
Remediation
Install update from vendor's website.
References
- https://sourceforge.net/p/freeimage/discussion/36111/thread/e06734bed5/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PUWVVP67FYM4GMWD7TPQ7C7JPPRUZHYE/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VZ7KBYPPNRMX7RRWVJSX4T63E3TFB6TG/
- https://sourceforge.net/p/freeimage/discussion/36109/thread/1a4db03d58/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AXWMZOYJKXWOEEUV7ZKW4BX772F5P2HL/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XXJ4QSLSK4HLH5ZDMDC42F7XLWLFADRD/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WEG5FTVLVSO26TEEYKORM42WZ4LEHIJB/