Bug 1274215 (CVE-2011-5325) - CVE-2011-5325 busybox: Path traversal via crafted tar file containing symlink
Summary: CVE-2011-5325 busybox: Path traversal via crafted tar file containing symlink
Alias: CVE-2011-5325
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1274227
Blocks: Embargoed1274216
TreeView+ depends on / blocked
Reported: 2015-10-22 09:40 UTC by Adam Mariš
Modified: 2019-09-29 13:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-12-01 11:39:46 UTC

Attachments (Terms of Use)

Description Adam Mariš 2015-10-22 09:40:29 UTC
A path traversal vulnerability was found in Busybox implementation of tar. tar will extract a symlink that points outside of the current working directory and then follow that symlink when extracting other files. This allows for a directory traversal attack when extracting untrusted tarballs.



CVE assignment:


Comment 1 Adam Mariš 2015-10-22 10:06:07 UTC
Created busybox tracking bugs for this issue:

Affects: fedora-all [bug 1274227]

Comment 2 Martin Prpič 2015-10-23 07:07:36 UTC
Upstream bug:


Comment 3 Tomas Hoger 2015-12-01 11:39:46 UTC
The busybox packages are shipped in Red Hat Enterprise Linux 6 and earlier.  However, they have a rather narrow use case that does not expose this flaw.  Even when busybox packages are installed, there's no 'tar' symlinks created for user to accidentally use busybox version instead of the one provided by the tar packages.  Users would have to explicitly execute "busybox tar" to use it, or create their own symlink.

Therefore, there's currently no plan to backport a fix for this issue to already released Red Hat Enterprise Linux versions.

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