Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 617920 (CVE-2017-7275)

Summary: media-gfx/imagemagick: memory allocation denial of service in coders/pcx.c (CVE-2017-7275)
Product: Gentoo Security Reporter: GLSAMaker/CVETool Bot <glsamaker>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED CANTFIX    
Severity: minor CC: graphics+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/ImageMagick/ImageMagick/issues/271
Whiteboard: ~3 [noglsa cve]
Package list:
Runtime testing required: ---

Description GLSAMaker/CVETool Bot gentoo-dev 2017-05-09 04:39:46 UTC
CVE-2017-7275 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-7275):
  The ReadPCXImage function in coders/pcx.c in ImageMagick 7.0.4.9 allows
  remote attackers to cause a denial of service (attempted large memory
  allocation and application crash) via a crafted file. NOTE: this
  vulnerability exists because of an incomplete fix for CVE-2016-8862 and
  CVE-2016-8866.
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2017-05-22 16:54:59 UTC
Upstream is unable to reproduce.

Upstream tried further mitigation via commit d94d85622f120f82240921ae7a83a72afcb79ddf which is available since v6.9.6-6 (current stable version in Gentoo is 6.9.7.4).
Comment 3 Yury German Gentoo Infrastructure gentoo-dev 2017-09-05 05:02:19 UTC
Issue pending closure on upstream. AJSAN issue. 

______________________________
You are getting an allocation error because the size of the colormap is ridiculous high. On our systems we can allocate this but it then fails at a later moment.
____________________________