Bug 1422908 (CVE-2017-6011)

Summary: CVE-2017-6011 icoutils: Buffer overflow in the simple_vec function
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: carnil, martin.gieseking, rjones
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:07:51 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: 1422911, 1430609, 1430610, 1430611    
Bug Blocks: 1411254    
Attachments:
Description Flags
Reporter writeup none

Description Andrej Nemec 2017-02-16 14:23:42 UTC
An issue was discovered in icoutils. An out-of-bounds read leading to a buffer overflow was observed in the "simple_vec" function in the "extract.c" source file. This affects icotool.

Comment 1 Andrej Nemec 2017-02-16 14:26:02 UTC
Created attachment 1250879 [details]
Reporter writeup

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

Affects: fedora-all [bug 1422911]

Comment 3 Martin Gieseking 2017-02-22 10:23:05 UTC
The patch provided for bug 1422907 should also fix this issue.

Comment 4 Salvatore Bonaccorso 2017-02-26 20:29:00 UTC
Hi Martin

Has this been forwarded to upstream?

Regards,
Salvatore

Comment 5 Martin Gieseking 2017-02-26 20:35:40 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:33 UTC
Created icoutils tracking bugs for this issue:

Affects: epel-6 [bug 1430609]

Comment 9 errata-xmlrpc 2017-03-23 01:15:15 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