Bug 310081 (CVE-2007-4988) - CVE-2007-4988 Integer overflow in ImageMagick's DIB coder
Summary: CVE-2007-4988 Integer overflow in ImageMagick's DIB coder
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2007-4988
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL: http://nvd.nist.gov/nvd.cfm?cvename=C...
Whiteboard:
Depends On: 411341 411351 411361 411371 411381 411391
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-27 22:25 UTC by Red Hat Product Security
Modified: 2021-10-19 08:54 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-19 08:54:04 UTC


Attachments (Terms of Use)
backported patch from Jonathan Smith (1.52 KB, patch)
2007-10-29 11:29 UTC, Mark J. Cox
no flags Details | Diff
Needed for backport (1.88 KB, patch)
2007-10-29 11:30 UTC, Mark J. Cox
no flags Details | Diff
needed for backport (3.54 KB, patch)
2007-10-29 11:31 UTC, Mark J. Cox
no flags Details | Diff
ImageMagick-5.5.6-CVE-2007-4988.patch (1.51 KB, patch)
2007-12-05 11:44 UTC, Bastien Nocera
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2008:0145 0 normal SHIPPED_LIVE Moderate: ImageMagick security update 2008-04-17 01:32:11 UTC

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@redhat.com by request of Jay Turner.


Note You need to log in before you can comment on or make changes to this bug.