Path traversal in Tar - CVE-2016-6321

 

Path traversal in Tar - CVE-2016-6321

Published: December 10, 2016 / Updated: July 28, 2020


Vulnerability identifier: #VU32213
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-6321
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to manipulate data.

Directory traversal vulnerability in the safer_name_suffix function in GNU tar 1.14 through 1.29 might allow remote attackers to bypass an intended protection mechanism and write to arbitrary files via vectors related to improper sanitization of the file_name parameter, aka POINTYFEATHER.


Affected software

Tar
Arch Linux
Gentoo Linux
tar (Alpine package)

How to mitigate CVE-2016-6321

Install update from vendor's website.

Tar - update to 1.30
tar (Alpine package) - addressed in versions 1.28-r1, 1.28-r2

External References

Related Security Bulletins