Vulnerabilities · 2023 · Imagemagick
CVE-2023-1289
Imagemagick vulnerability
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 products
Imagemagick, Extra Packages For Enterprise Linux, Fedora, Enterprise Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Imagemagick runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-j96m-mjp6-99xr · Exploit
- bugzilla.redhat.com/show_bug.cgi?id=2176858 · Patch
- github.com/ImageMagick/ImageMagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4 · Patch
- lists.debian.org/debian-lts-announce/2024/02/msg00007.html
- nvd.nist.gov/vuln/detail/CVE-2023-1289
- github.com/advisories/GHSA-j96m-mjp6-99xr
- nvd.nist.gov/vuln/detail/CVE-2023-1289
- cve.org/CVERecord?id=CVE-2023-1289
More vulnerabilities in Imagemagick products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.