CVE-2016-10173
archive-tar-minitar and minitar vulnerable to Path Traversal
CVE-2016-10173 is a high vulnerability (CVSS 7.5) in Minitar Archive-tar-minitar, published January 30, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.70%, the 91st percentile. Fixed in archive-tar-minitar 0.5.2.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2016-10173- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2016-10173- Updated
- 2026-11-02
EUVDEUVD-2017-0246 No score
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.
- Record
EUVD-2017-0246- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-h5g2-38x9-4gv3
7.5
archive-tar-minitar and minitar vulnerable to Path Traversal
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.
- Record
GHSA-h5g2-38x9-4gv3- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2016-10173- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-10173
7.5
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.
- Record
DEBIAN-CVE-2016-10173- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
Show 10 moreShow less
OSVGHSA-h5g2-38x9-4gv3
7.5
archive-tar-minitar and minitar vulnerable to Path Traversal
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.
- Record
GHSA-h5g2-38x9-4gv3- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-10173
7.5
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.
- Record
UBUNTU-CVE-2016-10173- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVMGASA-2017-0060 No score
Updated ruby-archive-tar-minitar packages fix security vulnerability
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. (CVE-2016-10173)
Moreover the updated packages replace deprecated require_gem by gem to make minitar work.
- Record
MGASA-2017-0060- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11332-1 No score
ruby2.7-rubygem-archive-tar-minitar-0.5.2-9.23 on GA media
These are all security issues fixed in the ruby2.7-rubygem-archive-tar-minitar-0.5.2-9.23 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11332-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11338-1 No score
ruby2.7-rubygem-minitar-0.9-1.4 on GA media
These are all security issues fixed in the ruby2.7-rubygem-minitar-0.9-1.4 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11338-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13163-1 No score
ruby3.2-rubygem-minitar-0.9-1.13 on GA media
These are all security issues fixed in the ruby3.2-rubygem-minitar-0.9-1.13 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13163-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14172-1 No score
ruby3.3-rubygem-minitar-0.9-1.17 on GA media
These are all security issues fixed in the ruby3.3-rubygem-minitar-0.9-1.17 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14172-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15121-1 No score
ruby3.4-rubygem-minitar-0.9-1.19 on GA media
These are all security issues fixed in the ruby3.4-rubygem-minitar-0.9-1.19 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15121-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:10354-1 No score
ruby4.0-rubygem-minitar-0.9-1.21 on GA media
These are all security issues fixed in the ruby4.0-rubygem-minitar-0.9-1.21 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:10354-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:0115-1 No score
Security update for rubygem-archive-tar-minitar
This update for rubygem-archive-tar-minitar fixes one security issue:
- CVE-2016-10173: Archives with files containing '..' in the extracted filename could have been used to overwrite arbitrary files (bsc#1021740).
- Record
SUSE-SU-2021:0115-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
archive-tar-minitarRubyGems |
before 0.5.2 | 0.5.2 |
minitarRubyGems |
before 0.6 | 0.6 |
ruby-minitarDebian:12 |
before 0.5.4-3.1 | 0.5.4-3.1 |
ruby-minitarDebian:13 |
before 0.5.4-3.1 | 0.5.4-3.1 |
ruby-minitarDebian:14 |
before 0.5.4-3.1 | 0.5.4-3.1 |
ruby-archive-tar-minitarDebian:7 |
before 0.5.2-2+deb7u1, plus listed versions 0.5.2-2 |
0.5.2-2+deb7u1 |
ruby-archive-tar-minitarDebian:8 |
before 0.5.2-2+deb8u1, plus listed versions 0.5.2-2 |
0.5.2-2+deb8u1 |
archive-tar-minitarRubyGems |
before 0.5.2, plus listed versions 0.5.1 |
0.5.2 |
minitarRubyGems |
before 0.6, plus listed versions 0.5.30.5.4 |
0.6 |
ruby-archive-tar-minitarMageia:5 |
before 0.5.2-14.2.mga5 | 0.5.2-14.2.mga5 |
Show 7 moreShow less
| Package | Affected | Fixed |
|---|---|---|
rubygem-archive-tar-minitarSUSE:Linux Enterprise Module for Containers 12 |
before 0.5.2-7.3.65 | 0.5.2-7.3.65 |
ruby-archive-tar-minitarUbuntu:14.04:LTS |
before 0.5.2-2+deb8u1build0.14.04.1, plus listed versions 0.5.2-2 |
0.5.2-2+deb8u1build0.14.04.1 |
ruby-minitarUbuntu:16.04:LTS |
before 0.5.4-3.1build0.16.04.1, plus listed versions 0.5.4-20.5.4-3 |
0.5.4-3.1build0.16.04.1 |
ruby3.2-rubygem-minitaropenSUSE:Tumbleweed |
before 0.9-1.13 | 0.9-1.13 |
rubygem-minitaropenSUSE:Tumbleweed |
before 0.9-1.17 | 0.9-1.17 |
rubygem-minitaropenSUSE:Tumbleweed |
before 0.9-1.19 | 0.9-1.19 |
rubygem-minitaropenSUSE:Tumbleweed |
before 0.9-1.21 | 0.9-1.21 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
openwall.com/lists/oss-security/2017/01/24/7
security.gentoo.org/glsa/201702-32
securityfocus.com/bid/95874
github.com/halostatue/minitar/issues/16
openwall.com/lists/oss-security/2017/01/29/1
debian.org/security/2017/dsa-3778
Show 17 moreShow less
puppet.com/security/cve/cve-2016-10173
github.com/halostatue/minitar/commit/e25205ecbb6277ae8a3df1e6a306d7ed4458b6e4
nvd.nist.gov/vuln/detail/CVE-2016-10173
web.archive.org/web/20170214020917/http://www.securityfocus.com/bid/95874
web.archive.org/web/20201207111726/https://www.puppet.com/security/cve/cve-2016-10173
github.com/advisories/GHSA-h5g2-38x9-4gv3
security-tracker.debian.org/tracker/CVE-2016-10173
github.com/halostatue/minitar
advisories.mageia.org/MGASA-2017-0060.html
bugs.mageia.org/show_bug.cgi?id=20317
lwn.net/Alerts/713128
suse.com/support/update/announcement/2021/suse-su-20210115-1
bugzilla.suse.com/1021740
suse.com/security/cve/CVE-2016-10173
ubuntu.com/security/CVE-2016-10173
bugzilla.opensuse.org/show_bug.cgi?id=1021740
cve.org/CVERecord?id=CVE-2016-10173