Use After Free Affecting ImageMagick-doc package, versions <0:6.9.10.68-3.amzn2.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
2.4% (82nd 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-1685498
  • published27 Sept 2021
  • disclosed14 Oct 2019

Introduced: 14 Oct 2019

CVE-2019-17541  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 ImageMagick-doc to version 0:6.9.10.68-3.amzn2.0.1 or higher.
This issue was patched in ALAS2-2020-1497.

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.

ImageMagick before 7.0.8-55 has a use-after-free in DestroyStringInfo in MagickCore/string.c because the error manager is mishandled in coders/jpeg.c.

CVSS Base Scores

version 3.1