CVE-2023-1289

Name
CVE-2023-1289
Description
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/ImageMagick/ImageMagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4
MISC https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-j96m-mjp6-99xr
MISC https://bugzilla.redhat.com/show_bug.cgi?id=2176858
secalert@redhat.com https://lists.debian.org/debian-lts-announce/2024/02/msg00007.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* imagemagick >= None < 7.1.1-0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
imagemagick 3.17-community 7.1.0.62-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick 3.18-community 7.1.1.13-r1 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick 3.19-community 7.1.1.32-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick 3.20-community 7.1.1.32-r2 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
imagemagick edge-community 7.1.1.39-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable