Bug 1422907 (CVE-2017-6010) - CVE-2017-6010 icoutils: Buffer overflow in the extract_icons function
Summary: CVE-2017-6010 icoutils: Buffer overflow in the extract_icons function
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-6010
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: 1422911 1430609 1430610 1430611
Blocks: 1411254
TreeView+ depends on / blocked
 
Reported: 2017-02-16 14:22 UTC by Andrej Nemec
Modified: 2019-09-29 14:07 UTC (History)
3 users (show)

Fixed In Version: icoutils 0.31.2
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in icoutils, in the icotool program. An attacker could create a crafted ICO or CUR file that, when read by icotool, could result in memory corruption leading to a crash or potential code execution.
Clone Of:
Environment:
Last Closed: 2019-06-08 03:07:49 UTC
Embargoed:


Attachments (Terms of Use)
Reporter writeup (12.57 KB, text/plain)
2017-02-16 14:25 UTC, Andrej Nemec
no flags Details
fixes memory issue triggered by number overflow (1.45 KB, patch)
2017-02-22 10:20 UTC, Martin Gieseking
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0837 0 normal SHIPPED_LIVE Important: icoutils security update 2017-03-23 05:04:55 UTC

Description Andrej Nemec 2017-02-16 14:22:26 UTC
An issue was discovered in icoutils. A buffer overflow was observed in the "extract_icons" function in the "extract.c" sourcefile. This issue can be triggered by processing a corrupted ico file and will result in an icotool crash.

Comment 1 Andrej Nemec 2017-02-16 14:25:21 UTC
Created attachment 1250878 [details]
Reporter writeup

Comment 2 Andrej Nemec 2017-02-16 14:26:53 UTC
Created icoutils tracking bugs for this issue:

Affects: fedora-all [bug 1422911]

Comment 3 Martin Gieseking 2017-02-22 10:20:38 UTC
Created attachment 1256393 [details]
fixes memory issue triggered by number overflow

This patch should fix the issue.

Comment 4 Salvatore Bonaccorso 2017-02-26 20:28:35 UTC
Hi Martin

Has this been forwarded to upstream?

Regards,
Salvatore

Comment 5 Martin Gieseking 2017-02-26 20:34:59 UTC
Hi Salvatore, yes, I sent the patches to upstream but haven't received a reply yet.

Comment 7 Doran Moppert 2017-03-09 06:17:20 UTC
Created icoutils tracking bugs for this issue:

Affects: epel-6 [bug 1430609]

Comment 9 errata-xmlrpc 2017-03-23 01:15:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:0837 https://rhn.redhat.com/errata/RHSA-2017-0837.html


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