Bug 1494463 (CVE-2017-14502) - CVE-2017-14502 libarchive: Off-by-one error in the read_header function
Summary: CVE-2017-14502 libarchive: Off-by-one error in the read_header function
Status: NEW
Alias: CVE-2017-14502
Product: Security Response
Classification: Other
Component: vulnerability   
(Show other bugs)
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=low,public=20170916,reported=2...
Keywords: Security
Depends On: 1698493 1449531
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-22 10:10 UTC by Andrej Nemec
Modified: 2019-04-10 13:20 UTC (History)
9 users (show)

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: ---


Attachments (Terms of Use)

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]


Note You need to log in before you can comment on or make changes to this bug.