Bug 1412248 (CVE-2017-5331)

Summary: CVE-2017-5331 icoutils: Check_offset overflow on 64-bit systems
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: martin.gieseking, rjones
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-11 15:42:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1412265, 1412266    
Bug Blocks:    

Description Andrej Nemec 2017-01-11 15:40:06 UTC
An integer overflow vulnerability was found in icoutils in the wrestool program. A maliciously crafted file could make the application crash or possibly allow code execution. This is a CVE for an insufficient patch for CVE-2017-5208.

References:

http://seclists.org/oss-sec/2017/q1/56

Upstream patch:

http://git.savannah.gnu.org/cgit/icoutils.git/commit/?id=4fbe9222fd79ee31b7ec031b0be070a9a400d1d3

Comment 1 Andrej Nemec 2017-01-11 15:42:13 UTC
Statement:

This issue did not affect the versions of icoutils as shipped with Red Hat
Enterprise Linux 7 as they did not backport the vulnerable patches
provided to fix a previous flaw (CVE-2017-5208).

Comment 2 Andrej Nemec 2017-01-11 16:11:08 UTC
Created icoutils tracking bugs for this issue:

Affects: fedora-all [bug 1412265]
Affects: epel-6 [bug 1412266]