CVE-2016-6321
tar: Bypassing the extract path name
Overview
Description
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-22
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 14 fixes
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | tar | wont fix |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | tar | 1.29-r1 |
| 3.23 | tar | 1.29-r1 |
| 3.24 | tar | 1.29-r1 |
| edge | tar | 1.29-r1 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | tar | 1.29b-1.1 |
| 12 | tar | 1.29b-1.1 |
| 13 | tar | 1.29b-1.1 |
| 14 | tar | 1.29b-1.1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| tar | 1.29b-1.1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | tar +3 | 1.29-2.1 | openSUSE-SU-2024:10382-1 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-tar | 1.29b-1.1 |
| 13 | rootio-tar | 1.29b-1.1 |
seal Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | seal-tar +1 | 2:1.26-35.el7+sp2 |
References
- git.savannah.gnu.org http://git.savannah.gnu.org/cgit/tar.git/commit/?id=7340f67b9860ea0531c1450e5aa261c50f67165d
- lists.gnu.org http://lists.gnu.org/archive/html/bug-tar/2016-10/msg00016.html
- packetstormsecurity.com http://packetstormsecurity.com/files/139370/GNU-tar-1.29-Extract-Pathname-Bypass.html
- seclists.org http://seclists.org/fulldisclosure/2016/Oct/102
- seclists.org http://seclists.org/fulldisclosure/2016/Oct/96
- www.debian.org http://www.debian.org/security/2016/dsa-3702
- www.securityfocus.com http://www.securityfocus.com/bid/93937
- www.ubuntu.com http://www.ubuntu.com/usn/USN-3132-1
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-6321
- lists.apache.org https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
Show all 17 references
- lists.apache.org https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-6321
- security.gentoo.org https://security.gentoo.org/glsa/201611-19
- sintonen.fi https://sintonen.fi/advisories/tar-extract-pathname-bypass.proper.txt
- sintonen.fi https://sintonen.fi/advisories/tar-extract-pathname-bypass.txt
- ubuntu.com https://ubuntu.com/security/notices/USN-3132-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2016-6321
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.