Directory traversal vulnerability in GNU patch versions which support Git-style patching before 2.7.3 allows remote attackers to write to arbitrary files with the permissions of the target user via a .. (dot dot) in a diff file name.
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 |
---|---|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775873 | issue tracking third party advisory patch |
http://www.securityfocus.com/bid/72846 | vdb entry third party advisory |
http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148953.html | third party advisory patch vendor advisory |
https://savannah.gnu.org/bugs/?44059 | patch vendor advisory |
http://www.openwall.com/lists/oss-security/2015/01/27/28 | mailing list third party advisory patch |
https://git.savannah.gnu.org/cgit/patch.git/commit/?id=17953b5893f7c9835f0dd2a704ba04e0371d2cbd | issue tracking patch |
http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154214.html | third party advisory patch vendor advisory |
http://www.ubuntu.com/usn/USN-2651-1 | third party advisory patch vendor advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1184490 | issue tracking third party advisory patch |