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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3737-1, DSA-5628-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
imagemagick (PTS) | jessie, jessie (lts) | 8:6.8.9.9-5+deb8u26 | vulnerable |
stretch (security) | 8:6.9.7.4+dfsg-11+deb9u14 | vulnerable | |
stretch (lts), stretch | 8:6.9.7.4+dfsg-11+deb9u19 | vulnerable | |
buster | 8:6.9.10.23+dfsg-2.1+deb10u1 | vulnerable | |
buster (security) | 8:6.9.10.23+dfsg-2.1+deb10u7 | fixed | |
bullseye | 8:6.9.11.60+dfsg-1.3+deb11u2 | vulnerable | |
bullseye (security) | 8:6.9.11.60+dfsg-1.3+deb11u3 | fixed | |
bookworm | 8:6.9.11.60+dfsg-1.6 | vulnerable | |
bookworm (security) | 8:6.9.11.60+dfsg-1.6+deb12u1 | fixed | |
trixie | 8:6.9.12.98+dfsg1-5 | fixed | |
sid | 8:6.9.12.98+dfsg1-5.2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
imagemagick | source | buster | 8:6.9.10.23+dfsg-2.1+deb10u6 | DLA-3737-1 | ||
imagemagick | source | bullseye | 8:6.9.11.60+dfsg-1.3+deb11u3 | DSA-5628-1 | ||
imagemagick | source | bookworm | 8:6.9.11.60+dfsg-1.6+deb12u1 | DSA-5628-1 | ||
imagemagick | source | (unstable) | 8:6.9.12.98+dfsg1-2 |
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-j96m-mjp6-99xr
https://github.com/ImageMagick/ImageMagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4 (7.1.1-0)
https://github.com/ImageMagick/ImageMagick6/commit/706d381b7eb79927d328c96f7b7faab5dc109368 (6.9.12-78)