Bug 1542261 (CVE-2018-6540)

Summary: CVE-2018-6540 zziplib: bus error in zzip_disk_findfirst function in zzip/mmapped.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abokovoy, jamartis
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: zziplib 0.13.68 Doc Type: If docs needed, set a value
Doc Text:
An unaligned memory access bug was found in the way ZZIPlib handled ZIP files. This flaw could potentially be used to crash the application using ZZIPlib by tricking the application into processing specially crafted ZIP files.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:39:21 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: 1542262, 1548363    
Bug Blocks: 1542260    

Description Laura Pardo 2018-02-05 23:43:50 UTC
A flaw was found in ZZIPlib 0.13.67, there is a bus error caused by loading of a misaligned address in the zzip_disk_findfirst function of zzip/mmapped.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted zip file.

References:
https://github.com/gdraheim/zziplib/issues/15

Patch:
https://github.com/gdraheim/zziplib/commit/72ec933663f738d8e166979aa7fd5590b2104a07

Comment 1 Laura Pardo 2018-02-05 23:44:24 UTC
Created zziplib tracking bugs for this issue:

Affects: fedora-all [bug 1542262]