SB2024062622 - Gentoo update for ImageMagick



SB2024062622 - Gentoo update for ImageMagick

Published: June 26, 2024 Updated: October 25, 2024

Security Bulletin ID SB2024062622
Severity
High
Patch available
YES
Number of vulnerabilities 17
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 29% Medium 41% Low 29%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 17 secuirty vulnerabilities.


1) Input validation error (CVE-ID: CVE-2021-4219)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability occurs due to improper use of open functions. A remote attacker can submit a specially crafted SVG to the application and can cause a denial of service.


2) Integer overflow (CVE-ID: CVE-2021-20224)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow within the ExportIndexQuantum() function in MagickCore/quantum-export.c. A remote attacker can pass specially crafted image data to the application, trigger an integer overflow 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-2022-0284)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error when parsing TIFF files within the GetPixelAlpha() function in pixel-accessor.h. A remote attacker can pass specially crafted TIFF file to the application, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.


4) Heap-based buffer overflow (CVE-ID: CVE-2022-1115)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error within the PushShortPixel() function in quantum-private.h when processing TIFF images. A remote attacker can pass specially crafted TIFF image to the application, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.


5) Reachable Assertion (CVE-ID: CVE-2022-2719)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a reachable assertion when a call to WriteImages is made in MagickWand/operation.c because of a NULL image list. A remote attacker can pass specially crafted file to the affected application and perform a denial of service (DoS) attack.


6) Heap-based buffer overflow (CVE-ID: CVE-2022-3213)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error. A remote attacker can trick a victim to open a specially crafted TIFF file, trigger a heap-based buffer overflow and cause a denial of service condition on the target system.


7) Buffer overflow (CVE-ID: CVE-2022-28463)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing Image files. A remote attacker can pass specially crafted data 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.


8) Integer overflow (CVE-ID: CVE-2022-32545)

The vulnerability allows a remote attacker to perform a denial of service attack. 

The vulnerability exists due to integer overflow in coders/psd.c in the ImageMagick when processing crafted or untrusted input. A remote attacker can trick the victim into opening a specially crafted file and perform a denial of service attack. 


9) Integer overflow (CVE-ID: CVE-2022-32546)

The vulnerability allows a remote attacker to perform a denial of service attack.

The vulnerability exists due to integer overflow in coders/pcl.c in the ImageMagick when processing crafted or untrusted input. A remote attacker can trick the victim into opening a specially crafted file and perform a denial of service attack.


10) Type conversion (CVE-ID: CVE-2022-32547)

The vulnerability allows a remote attacker to perform a denial of service attack.

The vulnerability exists due to a load of misaligned address for type 'double' in MagickCore/property.c. A remote attacker can trick the victim into opening a specially crafted file and perform a denial of service attack.


11) Resource management error (CVE-ID: CVE-2022-44267)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper management of internal resources when performing operations on crafted PNG images. A remote attacker can pass specially crafted PNG image to the application and force the application to wait indefinitely for the stdin input, consuming system resources.


12) Information disclosure (CVE-ID: CVE-2022-44268)

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to improper input validation when performing operations (e.g. resizing) on specially crafted PNG images. A remote attacker can pass a specially crafted image to the application and embed contents of other files on the system into the resulting image.


13) Heap-based buffer overflow (CVE-ID: CVE-2023-1906)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in MagickCore/quantum-import.c. A remote attacker can pass specially crafted data 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.


14) Heap-based buffer overflow (CVE-ID: CVE-2023-2157)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.


15) Use-after-free (CVE-ID: CVE-2023-5341)

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error within the ReadBMPImage() function in coders/bmp.c. A remote attacker can pass a specially crafted image to the application, trigger a use-after-free error and execute arbitrary code on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


16) Input validation error (CVE-ID: CVE-2023-34151)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can pass specially crafted image to the application and perform a denial of service (DoS) attack.


17) OS Command Injection (CVE-ID: CVE-2023-34153)

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation when processing video:vsync or video:pixel-format options in VIDEO encoding/decoding. A remote unauthenticated attacker can pass specially crafted data to the application and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Install update from vendor's website.