CVE-2023-1289
Last modified
CVE-2023-1289 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.86% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Imagemagick | Imagemagick | < 7.1.1-0 |
| Fedoraproject | Extra Packages For Enterprise Linux | 8.0 |
| Fedoraproject | Extra Packages For Enterprise Linux | 9.0 |
| Fedoraproject | Fedora | 36 |
| Fedoraproject | Fedora | 37 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux | 9.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2176858Issue Tracking, Patch
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-j96m-mjp6-99xrExploit, Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2176858Issue Tracking, Patch
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-j96m-mjp6-99xrExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-1289?
How severe is CVE-2023-1289?
How do I fix CVE-2023-1289?
Are you affected by CVE-2023-1289?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
