Bug 1542257 (CVE-2018-6542)

Summary: CVE-2018-6542 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 NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abokovoy, dkholia, 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: 2018-02-23 10:32:40 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: 1542259    
Bug Blocks: 1542260    

Description Laura Pardo 2018-02-05 23:22:56 UTC
A flaw was found in ZZIPlib 0.13.67, there is a bus error (when handling a disk64_trailer seek value) caused by loading of a misaligned address in the zzip_disk_findfirst function of zzip/mmapped.c. 

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

Patch:
https://github.com/gdraheim/zziplib/commit/931f962ddfec0e00d6f486df2c56d9857b55944e

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

Affects: fedora-all [bug 1542259]