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

Bug 628700 (CVE-2017-13131, CVE-2017-13132, CVE-2017-13133, CVE-2017-13134)

Summary: <media-gfx/imagemagick-{6.9.9.9,7.0.6.9}: Multiple DoS Vulnerabilities (CVE-2017-{13131,13132,13133,13134})
Product: Gentoo Security Reporter: D'juan McDonald (domhnall) <flopwiki>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: minor CC: flopwiki, graphics+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: B3 [glsa cve]
Package list:
Runtime testing required: ---

Description D'juan McDonald (domhnall) 2017-08-23 10:13:50 UTC
(CVE-2017-13131):https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-13131
In ImageMagick 7.0.6-8, a memory leak vulnerability was found in the function ReadMIFFImage in coders/miff.c, which allows attackers to cause a denial of service (memory consumption in NewLinkedList in MagickCore/linked-list.c) via a crafted file.

(CVE-2017-13132):https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-13132
In ImageMagick 7.0.6-8, the WritePDFImage function in coders/pdf.c operates on an incorrect data structure in the "dump uncompressed PseudoColor packets" step, which allows attackers to cause a denial of service (assertion failure in WriteBlobStream in MagickCore/blob.c) via a crafted file.

(CVE-2017-13133):https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-13133
In ImageMagick 7.0.6-8, the load_level function in coders/xcf.c lacks offset validation, which allows attackers to cause a denial of service (load_tile memory exhaustion) via a crafted file.

(CVE-2017-13134):https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-13134
In ImageMagick 7.0.6-6, a heap-based buffer over-read was found in the function SFWScan in coders/sfw.c, which allows attackers to cause a denial of service via a crafted file.
Comment 1 D'juan McDonald (domhnall) 2017-08-23 23:39:22 UTC
@maintainer(s), @security, upstream has already fixed these issues.

https://github.com/ImageMagick/ImageMagick/issues?q=label%3Abug+is%3Aclosed
Comment 4 GLSAMaker/CVETool Bot gentoo-dev 2017-11-11 14:17:11 UTC
This issue was resolved and addressed in
 GLSA 201711-07 at https://security.gentoo.org/glsa/201711-07
by GLSA coordinator Aaron Bauman (b-man).