SB2023082921 - Multiple vulnerabilities in FreeImage
Published: August 29, 2023
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 9 secuirty vulnerabilities.
1) NULL pointer dereference (CVE-ID: CVE-2021-40266)
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 ReadPalette() function in PluginTIFF.cpp. A remote attacker can pass specially crafted data to the application and perform a denial of service (DoS) attack.
2) Heap-based buffer overflow (CVE-ID: CVE-2021-40265)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the ofLoad() function in PluginJPEG.cpp. A remote attacker can 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.
3) NULL pointer dereference (CVE-ID: CVE-2021-40264)
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 FreeImage_CloneTag function inFreeImageTag.cpp. A remote attacker can perform a denial of service (DoS) attack.
4) Out-of-bounds write (CVE-ID: CVE-2021-40263)
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a boundary error within the ofLoad() function in PluginTIFF.cpp. A remote attacker can trigger an out-of-bounds write and execute arbitrary code on the target system.
5) Out-of-bounds write (CVE-ID: CVE-2021-40262)
The vulnerability allows a remote attacker to crash the application.
The vulnerability exists due to a boundary error within the Validate() function in PluginRAW.cpp. A remote attacker can trigger an out-of-bounds write and crash the application.
6) Buffer overflow (CVE-ID: CVE-2020-24295)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the PSDParser.cpp::ReadImageLine() function. A remote attacker can trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
7) Buffer overflow (CVE-ID: CVE-2020-24294)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error within the psdParser::UnpackRLE() function in PSDParser.cpp. A remote attacker can trigger memory corruption and crash the application.
8) Buffer overflow (CVE-ID: CVE-2020-24293)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the psdThumbnail::Read() function in PSDParser.cpp. A remote attacker can trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
9) Heap-based buffer overflow (CVE-ID: CVE-2020-24292)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the LoadStandardIcon() function in PluginICO.cpp. A remote attacker can pass specially crafted image 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.
Remediation
Cybersecurity Help is not aware of any official remediation provided by the vendor.
References
- https://sourceforge.net/p/freeimage/bugs/334/
- https://sourceforge.net/p/freeimage/bugs/337/
- https://sourceforge.net/p/freeimage/bugs/335/
- https://sourceforge.net/p/freeimage/bugs/336/
- https://sourceforge.net/p/freeimage/bugs/338/
- https://sourceforge.net/p/freeimage/discussion/36111/thread/afb98701eb/