Improper input validation in Imagemagick
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.009, 59.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Imagemagick
- Fedoraproject Extra Packages For Enterprise Linux — versions 8.0, 9.0
- Fedoraproject Fedora — versions 36, 37
- Red Hat Enterprise Linux — versions 8.0, 9.0
- Imagemagick — versions Fixed-in ImageMagick v7.1.1-0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Issue Tracking)
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-j96m-mjp6-99xr (Exploit, Vendor Advisory)
- github.com/ImageMagick/ImageMagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead… (Patch)
- [debian-lts-announce] 20240222 [SECURITY] [DLA 3737-1] imagemagick security update (mailing-list)