CVEvulnerability
CVE-2023-1289
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2023-03-23
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-20
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.
Affected configurations
• 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
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2176858 Issue Tracking, Patch
- https://github.com/ImageMagick/ImageMagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4 Patch
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-j96m-mjp6-99xr Exploit, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/02/msg00007.html lists.debian.org
- https://bugzilla.redhat.com/show_bug.cgi?id=2176858 Issue Tracking, Patch
- https://github.com/ImageMagick/ImageMagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4 Patch
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-j96m-mjp6-99xr Exploit, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/02/msg00007.html lists.debian.org