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

Bug 630122 (CVE-2017-14165)

Summary: <media-gfx/graphicsmagick-1.3.27: in GraphicsMagick 1.3.26 memory allocation failure in magick/memory.c
Product: Gentoo Security Reporter: D'juan McDonald (domhnall) <flopwiki>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: minor CC: graphics
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://blogs.gentoo.org/ago/2017/09/06/graphicsmagick-memory-allocation-failure-in-magickmalloc-memory-c-2/
Whiteboard: B3 [noglsa cve]
Package list:
Runtime testing required: ---

Description D'juan McDonald (domhnall) 2017-09-06 22:00:13 UTC
From ${URL}:

The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has a issue where memory allocation is excessive because it depends only on a length field in a header. This may lead to remote denial of service in the MagickMalloc function in magick/memory.c.

CVE Details:(https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-14165)

Note:The National Vulnerability Database is currently offline for scheduled maintenance.


Daj Uan (jmbailey/mbailey_j)
Gentoo Security Padawan
Comment 1 D'juan McDonald (domhnall) 2017-09-06 22:50:25 UTC
Propose Patch:(http://hg.code.sf.net/p/graphicsmagick/code/rev/493da54370aa)
Comment 2 Agostino Sarubbo gentoo-dev 2017-09-07 07:11:45 UTC
Hi, it is appreciate that you file the security bugs. I'd like if in the summary was reported the nature of the issue instead of the impact, so in this case memory allocation failure
Comment 3 Aaron Bauman Gentoo Infrastructure gentoo-dev Security 2018-03-26 01:14:29 UTC
@maintainer(s), please clean the vulnerable version from the tree.
Comment 4 Aaron Bauman Gentoo Infrastructure gentoo-dev Security 2018-03-26 01:41:59 UTC
cleanup will be tracked in bug #640690

GLSA Vote: No