Out-of-bounds Read Affecting GraphicsMagick-c++ package, versions <0:1.3.25-6.10.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.62% (79th 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-AMZN201803-GRAPHICSMAGICKC-1705577
  • published27 Sept 2021
  • disclosed14 Mar 2017

Introduced: 14 Mar 2017

CVE-2017-6335  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 GraphicsMagick-c++ to version 0:1.3.25-6.10.amzn1 or higher.
This issue was patched in ALAS-2017-820.

NVD Description

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

The QuantumTransferMode function in coders/tiff.c in GraphicsMagick 1.3.25 and earlier allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a small samples per pixel value in a CMYKA TIFF file.