CVE-2023-1289
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 8:6.9.12.98+dfsg1-2 |
| sid | Fixed | 8:6.9.12.98+dfsg1-2 |
| forky | Fixed | 8:6.9.12.98+dfsg1-2 |
| bullseye | Fixed | 8:6.9.11.60+dfsg-1.3+deb11u3 |
| bookworm | Fixed | 8:6.9.11.60+dfsg-1.6+deb12u1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| NuGet | Magick.NET-Q16-AnyCPU | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q16-HDRI-AnyCPU | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-arm64 | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q16-HDRI-arm64 | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q16-HDRI-x64 | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q16-HDRI-x86 | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q16-OpenMP-arm64 | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q16-OpenMP-x64 | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q16-OpenMP-x86 | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q16-arm64 | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q16-x64 | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q16-x86 | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-x64 | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q8-AnyCPU | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q8-OpenMP-arm64 | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q8-OpenMP-x64 | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q8-arm64 | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q8-x64 | <13.0.0 | 13.0.0 |
| NuGet | Magick.NET-Q8-x86 | <13.0.0 | 13.0.0 |
References
- https://www.suse.com/security/cve/CVE-2023-1289.html
- https://security-tracker.debian.org/tracker/CVE-2023-1289
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-j96m-mjp6-99xr
- https://nvd.nist.gov/vuln/detail/CVE-2023-1289
- https://github.com/ImageMagick/ImageMagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4
- https://bugzilla.redhat.com/show_bug.cgi?id=2176858
- https://github.com/ImageMagick/ImageMagick
- https://lists.debian.org/debian-lts-announce/2024/02/msg00007.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.