Bug 1192482 (CVE-2015-2304) - CVE-2015-2304 libarchive: directory traversal in bsdcpio
Summary: CVE-2015-2304 libarchive: directory traversal in bsdcpio
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2015-2304
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1192488 1192489
Blocks: 1225846
TreeView+ depends on / blocked
 
Reported: 2015-02-13 13:48 UTC by Vasyl Kaigorodov
Modified: 2019-09-29 13:28 UTC (History)
4 users (show)

Fixed In Version: libarchive 3.2.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-22 06:21:22 UTC


Attachments (Terms of Use)

Description Vasyl Kaigorodov 2015-02-13 13:48:49 UTC
It was reported [1] that bsdcpio tool from libarchive bundle is susceptible to a directory traversal vulnerability via absolute paths.

Initial discussion:
http://www.openwall.com/lists/oss-security/2015/01/07/5

Upstream report:
https://groups.google.com/d/msg/libarchive-discuss/dN9y1VvE1Qk/Z9uerigjQn0J

Proposed (minimal) fix (non-Windows):
https://groups.google.com/group/libarchive-discuss/attach/a78932ecb50340ae/0001-Quick-n-dirty-fix-for-bsdcpio-directory-traversal-vu.patch?part=0.1

Discussion is ongoing, no upstream fix is available yet.

[1]: http://seclists.org/oss-sec/2015/q1/145

Comment 1 Vasyl Kaigorodov 2015-02-13 14:05:55 UTC
Created libarchive tracking bugs for this issue:

Affects: fedora-all [bug 1192488]
Affects: epel-all [bug 1192489]

Comment 2 Vincent Danen 2015-08-22 06:21:10 UTC
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-06-24 02:25:44 UTC
Upstream patch:

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


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