CVE-2016-6321

Impact:
Moderate
Public Date:
2016-10-27
CWE:
CWE-22
Bugzilla:
1318562: CVE-2016-6321 tar: Bypassing the extract path name

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2016-6321 from the MITRE CVE dictionary dictionary and NIST NVD.

Statement

Red Hat Product Security has rated this issue as having Moderate security
impact, a future update may address this flaw. This issue did not affect the versions of star as shipped with Red Hat Enterprise Linux 5, 6, and 7.

CVSS v2 metrics

NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.

Base Score 5.1
Base Metrics AV:N/AC:H/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity High
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 7 star Not affected
Red Hat Enterprise Linux 7 tar Will not fix
Red Hat Enterprise Linux 6 tar Will not fix
Red Hat Enterprise Linux 6 star Not affected
Red Hat Enterprise Linux 5 star Not affected
Red Hat Enterprise Linux 5 tar Will not fix

Acknowledgements

Red Hat would like to thank Harry Sintonen for reporting this issue.

Mitigation

Use the "star" utility provided by the "star" package to process archives from untrusted sources.

External References

Last Modified

CVE description copyright © 2017, The MITRE Corporation