Bug 1554676 (CVE-2018-7727)

Summary: CVE-2018-7727 zziplib: Memory leak in memdisk.c:zzip_mem_disk_new() can lead to denial of service via crafted zip
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abokovoy, jamartis, rschiron
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: zziplib 0.13.69 Doc Type: If docs needed, set a value
Doc Text:
A memory leak was found in unzip-mem.c and unzzip-mem.c of ZZIPlib, up to v0.13.68, that could lead to resource exhaustion. Local attackers could leverage this vulnerability to cause a denial of service via a crafted zip file.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:17:39 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: 1554673, 1555082, 1558891    
Bug Blocks: 1554666    

Description Sam Fowler 2018-03-13 06:58:11 UTC
ZZIPlib through version 0.13.68 is vulnerable to a memory leak in
unzzipcat-mem.c:unzzip_cat() and unzip-mem.c:main(), where a ZZIP_MEM_DISK is
allocated but not released. An attacker could exploit this to cause a denial of
service via a crafted zip file.


Upstream Issue:
https://github.com/gdraheim/zziplib/issues/40

Upstream Patches:
https://github.com/gdraheim/zziplib/commit/83a2da55922f67e07f22048ac9671a44cc0d35c4

Comment 1 Sam Fowler 2018-03-13 07:05:32 UTC
Created zziplib tracking bugs for this issue:

Affects: fedora-all [bug 1554673]

Comment 5 errata-xmlrpc 2018-10-30 07:52:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:3229 https://access.redhat.com/errata/RHSA-2018:3229