GNU tar up to 1.29 Extraction Path path traversal ⚔ [Disputed]

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.1 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, was found in GNU tar up to 1.29. Affected by this issue is some unknown functionality of the component Extraction. Such manipulation leads to path traversal (Path). This vulnerability is documented as CVE-2016-6321. The attack can be executed remotely. Additionally, an exploit exists. The existence of this vulnerability is still disputed at present. You should upgrade the affected component.
Details
A vulnerability, which was classified as critical, has been found in GNU tar up to 1.29. Affected by this issue is some unknown functionality of the component Extraction. The manipulation with an unknown input leads to a path traversal vulnerability (Path). Using CWE to declare the problem leads to CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. Impacted is integrity, and availability.
The bug was discovered 03/10/2016. The weakness was released 10/27/2016 by Harry Sintonen as [CSS] POINTYFEATHER / tar extract pathname bypass (CVE-2016-6321) as confirmed mailinglist post (Full-Disclosure). The advisory is shared for download at seclists.org. The public release was coordinated with the vendor. This vulnerability is handled as CVE-2016-6321 since 07/26/2016. The attack needs to be approached locally. A simple authentication is required for exploitation. Technical details are unknown but a public exploit is available. The MITRE ATT&CK project declares the attack technique as T1006. The advisory points out:
GNU `tar' archiver 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.
A public exploit has been developed by Harry Sintonen in TAR and been published immediately after the advisory. The exploit is available at seclists.org. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 4863 days. During that time the estimated underground price was around $5k-$25k. The real existence of this vulnerability is still doubted at the moment. The vulnerability scanner Nessus provides a plugin with the ID 95270 (GLSA-201611-19 : Tar: Extract pathname bypass), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 169552 (OpenSuSE Security Update for tar (openSUSE-SU-2016:3003-1)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (95270) and SecurityFocus (BID 93937†). Once again VulDB remains the best source for vulnerability data.
Product
Vendor
Name
Version
License
Website
- Vendor: https://www.gnu.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.5VulDB Meta Temp Score: 7.1
VulDB Base Score: 7.5
VulDB Temp Score: 6.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Name: PathClass: Path traversal / Path
CWE: CWE-22
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Harry Sintonen
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 95270
Nessus Name: GLSA-201611-19 : Tar: Extract pathname bypass
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 703702
OpenVAS Name: Debian Security Advisory DSA 3702-1 (tar - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
Patch: git.savannah.gnu.org
Timeline
07/05/2003 🔍03/10/2016 🔍
03/15/2016 🔍
03/17/2016 🔍
07/26/2016 🔍
10/27/2016 🔍
10/27/2016 🔍
10/27/2016 🔍
10/28/2016 🔍
11/22/2016 🔍
11/23/2016 🔍
12/09/2016 🔍
08/07/2025 🔍
Sources
Vendor: gnu.orgAdvisory: [CSS] POINTYFEATHER / tar extract pathname bypass (CVE-2016-6321)
Researcher: Harry Sintonen
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍
Disputed: 🔍
CVE: CVE-2016-6321 (🔍)
GCVE (CVE): GCVE-0-2016-6321
GCVE (VulDB): GCVE-100-93116
OVAL: 🔍
SecurityFocus: 93937 - GNU Tar CVE-2016-6321 Security Bypass Vulnerability
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 10/28/2016 09:11Updated: 08/07/2025 00:26
Changes: 10/28/2016 09:11 (82), 05/19/2019 14:17 (14), 09/28/2022 14:37 (4), 09/25/2024 07:49 (16), 08/07/2025 00:26 (1)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.