Amazon Linux 1 Security Advisory: ALAS-2023-1745
Advisory Release Date: 2023-05-11 18:00 Pacific
Advisory Updated Date: 2023-05-23 20:54 Pacific
A vulnerability was discovered in ImageMagick where a specially created SVG file loads itself and causes a segmentation fault. This flaw allows a remote attacker to pass a specially crafted SVG file that leads to a segmentation fault, generating many trash files in "/tmp," resulting in a denial of service. When ImageMagick crashes, it generates a lot of trash files. These trash files can be large if the SVG file contains many render actions. In a denial of service attack, if a remote attacker uploads an SVG file of size t, ImageMagick generates files of size 103*t. If an attacker uploads a 100M SVG, the server will generate about 10G. (CVE-2023-1289)
Affected Packages:
ImageMagick
Issue Correction:
Run yum update ImageMagick to update your system.
i686:
ImageMagick-c++-6.9.10.97-1.25.amzn1.i686
ImageMagick-debuginfo-6.9.10.97-1.25.amzn1.i686
ImageMagick-6.9.10.97-1.25.amzn1.i686
ImageMagick-c++-devel-6.9.10.97-1.25.amzn1.i686
ImageMagick-devel-6.9.10.97-1.25.amzn1.i686
ImageMagick-perl-6.9.10.97-1.25.amzn1.i686
ImageMagick-doc-6.9.10.97-1.25.amzn1.i686
src:
ImageMagick-6.9.10.97-1.25.amzn1.src
x86_64:
ImageMagick-devel-6.9.10.97-1.25.amzn1.x86_64
ImageMagick-doc-6.9.10.97-1.25.amzn1.x86_64
ImageMagick-perl-6.9.10.97-1.25.amzn1.x86_64
ImageMagick-c++-devel-6.9.10.97-1.25.amzn1.x86_64
ImageMagick-6.9.10.97-1.25.amzn1.x86_64
ImageMagick-c++-6.9.10.97-1.25.amzn1.x86_64
ImageMagick-debuginfo-6.9.10.97-1.25.amzn1.x86_64