Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1377926 - (CVE-2016-8687) CVE-2016-8687 libarchive: stack based buffer overflow in bsdtar_expand_char (util.c)
CVE-2016-8687 libarchive: stack based buffer overflow in bsdtar_expand_char (...
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20160915,reported=2...
: Security
: 1385659 (view as bug list)
Depends On: 1385676 1378666 1385674 1385675
Blocks: 1376684 1385672
  Show dependency treegraph
 
Reported: 2016-09-20 23:33 EDT by Doran Moppert
Modified: 2017-03-07 18:57 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-09-22 23:20:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Doran Moppert 2016-09-20 23:33:17 EDT
Miscalculations in the safe_fprintf() function meant that the 
buffer allocated for decoding could be overflowed by crafted 
Unicode filenames.

Disclosed on oss-security:

http://seclists.org/oss-sec/2016/q3/516

Upstream issue:

https://github.com/libarchive/libarchive/issues/767

Upstream fix:

https://github.com/libarchive/libarchive/commit/e37b620f
Comment 1 Doran Moppert 2016-09-21 23:58:40 EDT
This only affects the bsdtar utility, libraries and applications linked against libarchive are not affected by this flaw.

Compiling with -fstack-protector-strong (as is the case in RHEL & Fedora) mitigates any code execution vector here.  In any case, the overflowed bytes are limited to ASCII octal escapes so even without these protections an attacker would need to be incredibly lucky to achieve more than a crash.
Comment 2 Doran Moppert 2016-09-22 23:15:31 EDT
Created libarchive tracking bugs for this issue:

Affects: fedora-all [bug 1378666]
Comment 3 Doran Moppert 2016-09-22 23:18:27 EDT
Statement:

Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Comment 4 Doran Moppert 2016-10-18 00:30:54 EDT
*** Bug 1385659 has been marked as a duplicate of this bug. ***

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