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.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
http://www.openwall.com/lists/oss-security/2017/01/24/7 | mailing list third party advisory patch |
https://security.gentoo.org/glsa/201702-32 | vendor advisory |
http://www.securityfocus.com/bid/95874 | vdb entry third party advisory |
https://github.com/halostatue/minitar/issues/16 | third party advisory exploit |
http://www.openwall.com/lists/oss-security/2017/01/29/1 | mailing list third party advisory patch |
http://www.debian.org/security/2017/dsa-3778 | vendor advisory |
https://puppet.com/security/cve/cve-2016-10173 | |
https://github.com/halostatue/minitar/commit/e25205ecbb6277ae8a3df1e6a306d7ed4458b6e4 | third party advisory patch |