Bug 1537059 (CVE-2018-1000031)

Summary: CVE-2018-1000031 unzip: Heap-based out-of-bounds write in fileio.c:set_zipfn_sgmnt_name() possibly causing crash
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: branto, jamartis, kdudka, pstodulk, security-response-team, vvitek
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: unzip 6.1c23 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:37:52 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: 1537060, 1543337    
Bug Blocks: 1537057    

Description Adam Mariš 2018-01-22 11:16:55 UTC
Heap-based out-of-bounds write in fileio.c:set_zipfn_sgmnt_name() was found when archive filename does not contain a .zip suffix, possibly causing crash of application.

Comment 3 Adam Mariš 2018-01-22 12:57:46 UTC
Acknowledgments:

Name: R. Freingruber (SEC Consult Vulnerability Lab)

Comment 4 Pedro Yóssis Silva Barbosa 2018-01-25 15:59:09 UTC
Statement:

This issue did not affect the versions of unzip as shipped with Red Hat Enterprise Linux 5, 6, and 7, as they did not include support for set_zipfn_sgmnt_name function.

Comment 6 Adam Mariš 2018-02-08 09:44:54 UTC
Created unzip tracking bugs for this issue:

Affects: fedora-all [bug 1543337]