Improper Input Validation Affecting ImageMagick-doc package, versions <0:6.9.10.97-1.amzn2.0.1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.86% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-IMAGEMAGICKDOC-5441202
  • published21 Apr 2023
  • disclosed23 Mar 2023

Introduced: 23 Mar 2023

CVE-2023-1289  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 ImageMagick-doc to version 0:6.9.10.97-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2023-2014.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ImageMagick-doc package and not the ImageMagick-doc package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1