Bug 1489852 (CVE-2017-14166)

Summary: CVE-2017-14166 libarchive: Heap-based buffer over-read in the atol8 function
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: anto.trande, besser82, databases-maint, mike, odubaj, panovotn, pkubat, praiskup
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: 2021-10-21 11:57:02 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: 1449531, 1698494, 1827927    
Bug Blocks: 1856620    

Description Andrej Nemec 2017-09-08 13:27:03 UTC
libarchive 3.3.2 allows attackers to cause a denial of service (xml_data heap-based buffer over-read and application crash) via a crafted xar archive, related to the mishandling of empty strings in the atol8 function in archive_read_support_format_xar.c.

Upstream patch:

https://github.com/libarchive/libarchive/commit/fa7438a0ff4033e4741c807394a9af6207940d71

References:

https://blogs.gentoo.org/ago/2017/09/06/libarchive-heap-based-buffer-overflow-in-xml_data-archive_read_support_format_xar-c/

Comment 1 Andrej Nemec 2017-09-08 13:28:10 UTC
Created libarchive tracking bugs for this issue:

Affects: fedora-all [bug 1449531]

Comment 2 Pavel Raiskup 2018-06-01 10:08:04 UTC
Waits for release:
https://github.com/libarchive/libarchive/issues/935