CVE-2016-10173 json
archive-tar-minitar and minitar vulnerable to Path Traversal
published 2017-02-01 9 y ago modified 2026-06-17 4 mo ago also GHSA-h5g2-38x9-4gv3 , EUVD-2017-0246
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.7%
- EPSS 4.7% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
Directory traversal vulnerability in the minitar before 0.6 and archive-tar-minitar 0.5.2 gems for Ruby allows remote attackers to write to arbitrary files via a .. (dot dot) in a TAR archive entry.
Patch / fix
- rubygems archive-tar-minitar 0.5.2
- rubygems minitar 0.6
- ruby-minitar Debian 14, Debian 13, Debian 12 0.5.4-3.1
debian advisories DEBIAN-CVE-2016-10173
- ruby-minitar Ubuntu 16.04 LTS 0.5.4-3.1build0.16.04.1
- ruby-archive-tar-minitar Ubuntu 14.04 LTS 0.5.2-2+deb8u1build0.14.04.1
ubuntu advisories UBUNTU-CVE-2016-10173
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- rubygem-archive-tar-minitar SLE Module for Containers 12 0.5.2-7.3.65
suse advisories SUSE-SU-2021:0115-1
- rubygem-minitar openSUSE Tumbleweed 0.9-1.21
- rubygem-minitar openSUSE Tumbleweed 0.9-1.19
- rubygem-minitar openSUSE Tumbleweed 0.9-1.17
- ruby3.2-rubygem-minitar openSUSE Tumbleweed 0.9-1.13
opensuse advisories openSUSE-SU-2026:10354-1openSUSE-SU-2025:15121-1openSUSE-SU-2024:14172-1openSUSE-SU-2024:13163-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-10173 updated cvss 5.5
rubygem-archive-tar-minitar: Directory traversal during archive extraction
-
Red Hat OpenShift Enterprise 2 rubygem-archive-tar-minitar Red Hat Satellite 6 ruby193-rubygem-archive-tar-minitaraffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.70% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/halostatue/minitar/issues/16 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | archive-tar-minitar | <0.5.2 |
0.5.2 |
| rubygems | minitar | <0.6 |
0.6 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/halostatue/minitar/commit/e25205ecbb6277ae8a3df1e6a306d7ed4458b6e4
web, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2017/01/24/7
mailing-list, web, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2017/01/29/1
mailing-list, web, patch, third-party-advisory
-
github.com
/halostatue/minitar/issues/16
web, exploit, third-party-advisory
-
security.gentoo.org
/glsa/201702-32
vendor-advisory, web
-
debian.org
/security/2017/dsa-3778
vendor-advisory, web
-
securityfocus.com
/bid/95874
vdb-entry, third-party-advisory
- puppet.com /security/cve/cve-2016-10173
-
nvd.nist.gov
/vuln/detail/CVE-2016-10173
advisory
-
github.com
/halostatue/minitar
package
-
web.archive.org
/web/20170214020917/http://www.securityfocus.com/bid/95874
web
-
web.archive.org
/web/20201207111726/https://www.puppet.com/security/cve/cve-2016-10173
web
Sources
- CVE List CVE-2016-10173
- GitHub Advisory GHSA-h5g2-38x9-4gv3
- NVD CVE-2016-10173
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.