Bug 310081 (CVE-2007-4988)

Summary: CVE-2007-4988 Integer overflow in ImageMagick's DIB coder
Product: [Other] Security Response Reporter: Red Hat Product Security <security-response-team>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bnocera, nmurray
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-4988
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-19 08:54:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 411341, 411351, 411361, 411371, 411381, 411391    
Bug Blocks:    
Attachments:
Description Flags
backported patch from Jonathan Smith
none
Needed for backport
none
needed for backport
none
ImageMagick-5.5.6-CVE-2007-4988.patch none

Description Lubomir Kundrak 2007-09-27 22:25:26 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2007-4988 to the following vulnerability:

Sign extension error in the ReadDIBImage function in ImageMagick before 6.3.5-9 allows context-dependent attackers to execute arbitrary code via a crafted width value in an image file, which triggers an integer overflow and a heap-based buffer overflow.

References:

http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=597
http://studio.imagemagick.org/pipermail/magick-announce/2007-September/000037.html
http://www.imagemagick.org/script/changelog.php
http://www.securityfocus.com/bid/25765
http://www.frsirt.com/english/advisories/2007/3245
http://www.securitytracker.com/id?1018729
http://secunia.com/advisories/26926
http://xforce.iss.net/xforce/xfdb/36737

Comment 2 Lubomir Kundrak 2007-09-27 22:34:58 UTC
RHEL-2.1 is not affected, it did not contain the DIB coder.

Comment 4 Mark J. Cox 2007-10-29 11:29:44 UTC
Created attachment 241681 [details]
backported patch from Jonathan Smith

Comment 5 Mark J. Cox 2007-10-29 11:30:45 UTC
Created attachment 241701 [details]
Needed for backport

Comment 6 Mark J. Cox 2007-10-29 11:31:08 UTC
Created attachment 241711 [details]
needed for backport

Comment 7 Lubomir Kundrak 2007-12-04 21:51:50 UTC
        Doesn't Affect: RHEL2.1 (no dib support)
        Affects: RHEL3
        Affects: RHEL4
        Affects: RHEL5

Comment 9 Bastien Nocera 2007-12-05 11:44:15 UTC
Created attachment 278181 [details]
ImageMagick-5.5.6-CVE-2007-4988.patch

Backported patch for 5.5.6 (as used in RHEL-3)

Comment 10 Bastien Nocera 2007-12-05 17:34:16 UTC
The patches from comment 5 and 6 are missing the changes to the headers...

Comment 12 Red Hat Bugzilla 2009-10-23 19:03:20 UTC
Reporter changed to security-response-team by request of Jay Turner.