Alerts This Week
Warning Icon 1 914
Alerts This Week
Warning Icon 1 914

Gentoo: GLSA-201611-19 Normal: Tar Path Traversal Allows Code Execution

gentoo
Calendar Grey November 22, 2016
Dist Gentoo Esm H88
Gentoo GLSA 202311-05 discloses a vulnerability in Bash that may lead to local privilege escalation. Prompt remediation advised.
A path traversal attack in Tar may lead to the remote execution of arbitrary code.

Summary

Tar attempts to avoid path traversal attacks by removing offending parts of the element name at extract. This sanitizing leads to a vulnerability where the attacker can bypass the path name(s) specified on the command line.

Resolution

All Tar users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/tar-1.29-r1"

References

[ 1 ] CVE-2016-6321 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-6321

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/201611-19
style>.gentoo_availability{display:block;}

Concerns

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

Severity: Normal
Title: Tar: Extract pathname bypass
Date: November 22, 2016
Bugs: #598334
ID: 201611-19

Synopsis

A path traversal attack in Tar may lead to the remote execution of arbitrary code.

Background

The Tar program provides the ability to create and manipulate tar archives.

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Affected Packages

------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 app-arch/tar < 1.29-r1 >= 1.29-r1

Impact

===== The attacker can create a crafted tar archive that, if extracted by the victim, replaces files and directories the victim has access to in the target directory, regardless of the path name(s) specified on the command line.

Workaround

There is no known workaround at this time.

Your message here