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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
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 (56.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 57th percentile — 56.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: 0.000
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 proof-of-concept exploits
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)
- lists.debian.org/debian-lts-announce/2024/02/msg00007.html (mailing-list)
Frequently asked questions
- What is CVE-2023-1289?
- CVE-2023-1289 is a medium-severity vulnerability in Imagemagick, classified under Improper Input Validation. CVSS score: 5.5/10. Published 2023-03-23.
- How severe is CVE-2023-1289?
- Medium severity. CVSS v3 base score is 5.5 out of 10.
- Is CVE-2023-1289 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.