Excessive Iteration Affecting graphicsmagick package, versions <1.3.26-r3


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.16% (85th 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-ALPINE313-GRAPHICSMAGICK-1067736
  • published2 Feb 2021
  • disclosed30 Aug 2017

Introduced: 30 Aug 2017

CVE-2017-13777  (opens in a new tab)
CWE-834  (opens in a new tab)

How to fix?

Upgrade Alpine:3.13 graphicsmagick to version 1.3.26-r3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream graphicsmagick package and not the graphicsmagick package as distributed by Alpine. See How to fix? for Alpine:3.13 relevant fixed versions and status.

GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c "Read hex image data" version==10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.