7.5high

CVE-2016-10173

archive-tar-minitar and minitar vulnerable to Path Traversal

Also known as GHSA-h5g2-38x9-4gv3

Published 9 y ago · modified 4 mo ago · JSON

CVSS
7.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
4.7%
percentile 92%
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.

Exploit prediction (EPSS)

4.70% probability of exploitation in the next 30 days, higher than 92% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.07.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD2.05.0AV:N/AC:L/Au:N/C:N/I:P/A:N
GitHub3.07.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

EcosystemPackageAffectedFixed in
rubygemsarchive-tar-minitar
<0.5.2
0.5.2
rubygemsminitar
<0.6
0.6

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

  • openwall.com /lists/oss-security/2017/01/24/7 · mailing-list, x_refsource_MLIST, x_transferred
  • security.gentoo.org /glsa/201702-32 · vendor-advisory, x_refsource_GENTOO, x_transferred
  • securityfocus.com /bid/95874 · vdb-entry, x_refsource_BID, x_transferred
  • github.com /halostatue/minitar/issues/16 · x_refsource_CONFIRM, x_transferred
  • openwall.com /lists/oss-security/2017/01/29/1 · mailing-list, x_refsource_MLIST, x_transferred
  • debian.org /security/2017/dsa-3778 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • puppet.com /security/cve/cve-2016-10173 · x_refsource_CONFIRM, x_transferred
  • github.com /halostatue/minitar/commit/e25205ecbb6277ae8a3df1e6a306d7ed4458b6e4 · x_refsource_CONFIRM, x_transferred
  • 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

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.