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: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: anto.trande, besser82, databases-maint, mike, odubaj, panovotn, pkubat, praiskup, tomm.momi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: libarchive 3.3.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-14 04:21:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1449531, 1698493, 1827927    
Bug Blocks: 1856612    

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.



Upstream patch:


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

Affects: fedora-all [bug 1449531]