ALAS-2023-1696

Related Vulnerabilities: CVE-2021-20224   CVE-2021-3574   CVE-2021-4219   CVE-2022-28463   CVE-2022-32545   CVE-2022-32546   CVE-2022-32547   CVE-2022-44267   CVE-2022-44268  

An integer overflow issue was discovered in ImageMagick's ExportIndexQuantum() function in MagickCore/quantum-export.c. Function calls to GetPixelIndex() could result in values outside the range of representable for the 'unsigned char'. When ImageMagick processes a crafted pdf file, this could lead to an undefined behaviour or a crash. (CVE-2021-20224) A vulnerability was found in ImageMagick. Memory leaks are detected when executing a crafted file with the convert command, affecting availability. (CVE-2021-3574) A flaw was found in ImageMagick. The vulnerability occurs due to improper use of open functions and leads to a denial of service. This flaw allows an attacker to crash the system. (CVE-2021-4219) ImageMagick 7.1.0-27 is vulnerable to Buffer Overflow. (CVE-2022-28463) A vulnerability was found in ImageMagick, causing an outside the range of representable values of type 'unsigned char' at coders/psd.c, when crafted or untrusted input is processed. This leads to a negative impact to application availability or other problems related to undefined behavior. (CVE-2022-32545) A vulnerability was found in ImageMagick, causing an outside the range of representable values of type 'unsigned long' at coders/pcl.c, when crafted or untrusted input is processed. This leads to a negative impact to application availability or other problems related to undefined behavior. (CVE-2022-32546) In ImageMagick, there is load of misaligned address for type 'double', which requires 8 byte alignment and for type 'float', which requires 4 byte alignment at MagickCore/property.c. Whenever crafted or untrusted input is processed by ImageMagick, this causes a negative impact to application availability or other problems related to undefined behavior. (CVE-2022-32547) ImageMagick 7.1.0-49 is vulnerable to Denial of Service. When it parses a PNG image (e.g., for resize), the convert process could be left waiting for stdin input. (CVE-2022-44267) ImageMagick 7.1.0-49 is vulnerable to Information Disclosure. When it parses a PNG image (e.g., for resize), the resulting image could have embedded the content of an arbitrary. file (if the magick binary has permissions to read it). (CVE-2022-44268)

ALAS-2023-1696


Amazon Linux AMI Security Advisory: ALAS-2023-1696
Advisory Release Date: 2023-03-02 20:22 Pacific
Advisory Updated Date: 2023-03-07 01:56 Pacific
Severity: Medium

Issue Overview:

An integer overflow issue was discovered in ImageMagick's ExportIndexQuantum() function in MagickCore/quantum-export.c. Function calls to GetPixelIndex() could result in values outside the range of representable for the 'unsigned char'. When ImageMagick processes a crafted pdf file, this could lead to an undefined behaviour or a crash. (CVE-2021-20224)

A vulnerability was found in ImageMagick. Memory leaks are detected when executing a crafted file with the convert command, affecting availability. (CVE-2021-3574)

A flaw was found in ImageMagick. The vulnerability occurs due to improper use of open functions and leads to a denial of service. This flaw allows an attacker to crash the system. (CVE-2021-4219)

ImageMagick 7.1.0-27 is vulnerable to Buffer Overflow. (CVE-2022-28463)

A vulnerability was found in ImageMagick, causing an outside the range of representable values of type 'unsigned char' at coders/psd.c, when crafted or untrusted input is processed. This leads to a negative impact to application availability or other problems related to undefined behavior. (CVE-2022-32545)

A vulnerability was found in ImageMagick, causing an outside the range of representable values of type 'unsigned long' at coders/pcl.c, when crafted or untrusted input is processed. This leads to a negative impact to application availability or other problems related to undefined behavior. (CVE-2022-32546)

In ImageMagick, there is load of misaligned address for type 'double', which requires 8 byte alignment and for type 'float', which requires 4 byte alignment at MagickCore/property.c. Whenever crafted or untrusted input is processed by ImageMagick, this causes a negative impact to application availability or other problems related to undefined behavior. (CVE-2022-32547)

ImageMagick 7.1.0-49 is vulnerable to Denial of Service. When it parses a PNG image (e.g., for resize), the convert process could be left waiting for stdin input. (CVE-2022-44267)

ImageMagick 7.1.0-49 is vulnerable to Information Disclosure. When it parses a PNG image (e.g., for resize), the resulting image could have embedded the content of an arbitrary. file (if the magick binary has permissions to read it). (CVE-2022-44268)


Affected Packages:

ImageMagick


Issue Correction:
Run yum update ImageMagick to update your system.

New Packages:
i686:
    ImageMagick-devel-6.9.10.68-3.24.amzn1.i686
    ImageMagick-debuginfo-6.9.10.68-3.24.amzn1.i686
    ImageMagick-perl-6.9.10.68-3.24.amzn1.i686
    ImageMagick-c++-6.9.10.68-3.24.amzn1.i686
    ImageMagick-6.9.10.68-3.24.amzn1.i686
    ImageMagick-c++-devel-6.9.10.68-3.24.amzn1.i686
    ImageMagick-doc-6.9.10.68-3.24.amzn1.i686

src:
    ImageMagick-6.9.10.68-3.24.amzn1.src

x86_64:
    ImageMagick-c++-devel-6.9.10.68-3.24.amzn1.x86_64
    ImageMagick-doc-6.9.10.68-3.24.amzn1.x86_64
    ImageMagick-devel-6.9.10.68-3.24.amzn1.x86_64
    ImageMagick-perl-6.9.10.68-3.24.amzn1.x86_64
    ImageMagick-c++-6.9.10.68-3.24.amzn1.x86_64
    ImageMagick-6.9.10.68-3.24.amzn1.x86_64
    ImageMagick-debuginfo-6.9.10.68-3.24.amzn1.x86_64