Amazon Linux Security Advisory
ALAS2-2023-2014
Amazon Linux 2 2017.12 - ALAS2-2023-2014: medium priority package update for ImageMagick
Details
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2023-1289: 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | ImageMagick | All versions before 6.9.10.97-1.amzn2.0.1 (fixed in 6.9.10.97-1.amzn2.0.1) |
| Amazon Linux:2 | ImageMagick-c++ | All versions before 6.9.10.97-1.amzn2.0.1 (fixed in 6.9.10.97-1.amzn2.0.1) |
| Amazon Linux:2 | ImageMagick-c++-devel | All versions before 6.9.10.97-1.amzn2.0.1 (fixed in 6.9.10.97-1.amzn2.0.1) |
| Amazon Linux:2 | ImageMagick-debuginfo | All versions before 6.9.10.97-1.amzn2.0.1 (fixed in 6.9.10.97-1.amzn2.0.1) |
| Amazon Linux:2 | ImageMagick-devel | All versions before 6.9.10.97-1.amzn2.0.1 (fixed in 6.9.10.97-1.amzn2.0.1) |
| Amazon Linux:2 | ImageMagick-doc | All versions before 6.9.10.97-1.amzn2.0.1 (fixed in 6.9.10.97-1.amzn2.0.1) |
| Amazon Linux:2 | ImageMagick-perl | All versions before 6.9.10.97-1.amzn2.0.1 (fixed in 6.9.10.97-1.amzn2.0.1) |