CVE-2016-10173
rubygem-archive-tar-minitar: Directory traversal during archive extraction
Overview
Description
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.
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 · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | archive-tar-minitar | <0.5.2 | 0.5.20.6.0 |
| RubyGems | minitar | <0.6 | 0.60.6.0 |
Open a package to see all its vulnerabilities.
Operating systems · 11 fixes
debian 4 releases · 1 package
fixed 4
ruby-minitar
| Release | Package | Fixed in |
|---|---|---|
| 11 | ruby-minitar | 0.5.4-3.1 |
| 12 | ruby-minitar | 0.5.4-3.1 |
| 13 | ruby-minitar | 0.5.4-3.1 |
| 14 | ruby-minitar | 0.5.4-3.1 |
echo 1 release · 1 package
fixed 1
ruby-minitar
| Release | Package | Fixed in |
|---|---|---|
| ruby-minitar | 0.5.4-3.1 |
openSUSE 1 release · 6 packages
fixed 6
ruby2-7-rubygem-archive-tar-minitar
ruby3-2-rubygem-minitar
ruby3-3-rubygem-minitar
ruby3-4-rubygem-minitar
ruby4-0-rubygem-minitar
ruby2-7-rubygem-minitar
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ruby2-7-rubygem-archive-tar-minitar +1 | 0.5.2-9.23 | openSUSE-SU-2024:11332-1 |
| Tumbleweed | ruby3-2-rubygem-minitar | 0.9-1.13 | openSUSE-SU-2024:13163-1 |
| Tumbleweed | ruby3-3-rubygem-minitar | 0.9-1.17 | openSUSE-SU-2024:14172-1 |
| Tumbleweed | ruby3-4-rubygem-minitar | 0.9-1.19 | openSUSE-SU-2025:15121-1 |
| Tumbleweed | ruby4-0-rubygem-minitar | 0.9-1.21 | openSUSE-SU-2026:10354-1 |
| Tumbleweed | ruby2-7-rubygem-minitar +1 | 0.9-1.4 | openSUSE-SU-2024:11338-1 |
References
- www.debian.org http://www.debian.org/security/2017/dsa-3778
- www.openwall.com http://www.openwall.com/lists/oss-security/2017/01/24/7
- www.openwall.com http://www.openwall.com/lists/oss-security/2017/01/29/1
- www.securityfocus.com http://www.securityfocus.com/bid/95874
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-10173
- bugzilla.opensuse.org https://bugzilla.opensuse.org/show_bug.cgi?id=1021740
- github.com https://github.com/halostatue/minitar
- github.com https://github.com/halostatue/minitar/commit/e25205ecbb6277ae8a3df1e6a306d7ed4458b6e4
- github.com https://github.com/halostatue/minitar/issues/16
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-10173
Show all 15 references
- puppet.com https://puppet.com/security/cve/cve-2016-10173
- security.gentoo.org https://security.gentoo.org/glsa/201702-32
- web.archive.org https://web.archive.org/web/20170214020917/http://www.securityfocus.com/bid/95874
- web.archive.org https://web.archive.org/web/20201207111726/https://www.puppet.com/security/cve/cve-2016-10173
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2016-10173
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.