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.
{ "vanir_signatures": [ { "digest": { "function_hash": "29902448052071645667149136699136026042", "length": 11448.0 }, "id": "CVE-2023-1289-68c0f34c", "source": "https://github.com/imagemagick/imagemagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4", "signature_version": "v1", "signature_type": "Function", "target": { "file": "MagickCore/draw.c", "function": "DrawPrimitive" }, "deprecated": false }, { "digest": { "threshold": 0.9, "line_hashes": [ "52909156131205580745174177646359421269", "210959658475179912024626350276219083510", "190208875981849026616327657253389286142", "91551732911785474619320117426817094857" ] }, "id": "CVE-2023-1289-9970488a", "source": "https://github.com/imagemagick/imagemagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4", "signature_version": "v1", "signature_type": "Line", "target": { "file": "MagickCore/draw.c" }, "deprecated": false } ] }