Bug 1494463 (CVE-2017-14502)

Summary: CVE-2017-14502 libarchive: Off-by-one error in the read_header function
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: anto.trande, besser82, databases-maint, mike, odubaj, panovotn, pkubat, praiskup, tomm.momi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libarchive 3.3.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1698493, 1449531    
Bug Blocks:    

Description Andrej Nemec 2017-09-22 10:10:09 UTC
read_header in archive_read_support_format_rar.c in libarchive 3.3.2 suffers from an off-by-one error for UTF-16 names in RAR archives, leading to an out-of-bounds read in archive_read_format_rar_read_header.

References:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875974

Upstream patch:

https://github.com/libarchive/libarchive/commit/5562545b5562f6d12a4ef991fae158bf4ccf92b6

Comment 1 Andrej Nemec 2017-09-22 10:10:53 UTC
Created libarchive tracking bugs for this issue:

Affects: fedora-all [bug 1449531]