Ubuntu CVE Tracker
UBUNTU-CVE-2023-1289
Details
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 |
|---|---|---|
| Ubuntu:20.04:LTS | imagemagick | All versions before 8:6.9.10.23+dfsg-2.1ubuntu11.10 (fixed in 8:6.9.10.23+dfsg-2.1ubuntu11.10) |
| Ubuntu:22.04:LTS | imagemagick | All versions before 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5 (fixed in 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5) |
| Ubuntu:24.04:LTS | imagemagick | All versions before 8:6.9.11.60+dfsg-1.6ubuntu1 (fixed in 8:6.9.11.60+dfsg-1.6ubuntu1) |