Bug 1537055 (CVE-2018-1000032)

Summary: CVE-2018-1000032 unzip: Heap-based buffer overflow in charset_to_intern()
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
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: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: 1537056, 1543337    
Bug Blocks: 1537057    

Description Adam Mariš 2018-01-22 11:05:25 UTC
Heap-based buffer overflow was found in charset_to_intern() function which can be used to write null-bytes out-of-bound when converting attacker-controlled strings to the local charset.

Comment 4 Adam Mariš 2018-01-22 12:57:39 UTC
Acknowledgments:

Name: R. Freingruber (SEC Consult Vulnerability Lab)

Comment 5 Pedro Yóssis Silva Barbosa 2018-01-25 15:56:27 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 the function charset_to_intern, or the code is different and does not contain the vulnerable part.

Comment 7 Adam Mariš 2018-02-08 09:45:22 UTC
Created unzip tracking bugs for this issue:

Affects: fedora-all [bug 1543337]