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
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-14502
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1449531 1698493 1827927
Blocks: 1856612
TreeView+ depends on / blocked
 
Reported: 2017-09-22 10:10 UTC by Andrej Nemec
Modified: 2021-06-10 01:13 UTC (History)
9 users (show)

Fixed In Version: libarchive 3.3.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-14 04:21:05 UTC
Embargoed:


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.