Bug 804591 (CVE-2012-1186) - CVE-2012-1186: ImageMagick: Incorrect fix for CVE-2012-0248
Summary: CVE-2012-1186: ImageMagick: Incorrect fix for CVE-2012-0248
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2012-1186
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:
Whiteboard:
Depends On: 796844 796845
Blocks: 798337
TreeView+ depends on / blocked
 
Reported: 2012-03-19 10:57 UTC by Stefan Cornelius
Modified: 2021-02-24 12:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-24 21:38:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Stefan Cornelius 2012-03-19 10:57:28 UTC
The original fix for CVE-2012-0248 was found to be insufficient.

The original fix for CVE-2012-0248 failed to correct the denial of service condition in "profile.c" source code part, too. This still allowed the specially-crafted image file, when processed for example by the "convert" executable, to cause original CVE-2012-0248 problem (denial of service).

Relevant upstream patch:
[1] http://trac.imagemagick.org/changeset/6998/ImageMagick/branches/ImageMagick-6.7.5/magick/profile.c

Comment 1 Stefan Cornelius 2012-03-19 13:22:28 UTC
A CVE identifier of CVE-2012-1186 has been assigned to this issue.

Comment 2 Pavel Alexeev 2012-03-19 19:58:29 UTC
Is upstream author informed about it?

Comment 3 Stefan Cornelius 2012-03-19 20:17:51 UTC
(In reply to comment #2)
> Is upstream author informed about it?


Yes, they've been informed about the issues and published fixes (e.g. see the patches linked in the description above - comment #0).

Comment 4 Pavel Alexeev 2012-03-20 16:29:04 UTC
I meant is author informed what they patch is not sufficient?

And is there already complete solution?

Comment 5 Stefan Cornelius 2012-03-20 18:05:03 UTC
Pavel,

Yes, we've informed ImageMagick upstream about the incorrect fix, so ImageMagick upstream knows about the incorrect fix. Upstream ImageMagick has completely fixed this in the ImageMagick subversion repository (3 weeks ago).

If you want to know a detailed list of the upstream ImageMagick releases including the complete fix, you should contact ImageMagick upstream.

Comment 6 Pavel Alexeev 2012-04-11 13:29:24 UTC
Rawhide build which should fix it http://koji.fedoraproject.org/koji/taskinfo?taskID=3977291.

Comment 7 Stefan Cornelius 2012-04-24 21:38:05 UTC
Statement:

Not vulnerable. This issue did not affect the versions of ImageMagick as shipped with Red Hat Enterprise Linux 5 and 6 as they did not backport the insufficient patch for CVE-2012-0248.


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