{"id":"GHSA-h5g2-38x9-4gv3","summary":"archive-tar-minitar and minitar vulnerable to Path Traversal","details":"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.","aliases":["CVE-2016-10173"],"modified":"2023-11-01T05:44:06.927963Z","published":"2017-10-24T18:33:35Z","database_specific":{"github_reviewed_at":"2020-06-16T21:39:02Z","nvd_published_at":null,"cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10173"},{"type":"WEB","url":"https://github.com/halostatue/minitar/issues/16"},{"type":"WEB","url":"https://github.com/halostatue/minitar/commit/e25205ecbb6277ae8a3df1e6a306d7ed4458b6e4"},{"type":"PACKAGE","url":"https://github.com/halostatue/minitar"},{"type":"WEB","url":"https://security.gentoo.org/glsa/201702-32"},{"type":"WEB","url":"https://web.archive.org/web/20170214020917/http://www.securityfocus.com/bid/95874"},{"type":"WEB","url":"https://web.archive.org/web/20201207111726/https://www.puppet.com/security/cve/cve-2016-10173"},{"type":"WEB","url":"http://www.debian.org/security/2017/dsa-3778"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2017/01/24/7"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2017/01/29/1"}],"affected":[{"package":{"name":"archive-tar-minitar","ecosystem":"RubyGems","purl":"pkg:gem/archive-tar-minitar"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.2"}]}],"versions":["0.5.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-h5g2-38x9-4gv3/GHSA-h5g2-38x9-4gv3.json"}},{"package":{"name":"minitar","ecosystem":"RubyGems","purl":"pkg:gem/minitar"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6"}]}],"versions":["0.5.3","0.5.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-h5g2-38x9-4gv3/GHSA-h5g2-38x9-4gv3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}