Directory Traversal Affecting patch package, versions <2.7.3-1
Snyk CVSS
Attack Complexity
Low
Integrity
High
Threat Intelligence
EPSS
0.29% (69th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN11-PATCH-516290
- published 25 Aug 2017
- disclosed 25 Aug 2017
Introduced: 25 Aug 2017
CVE-2015-1395 Open this link in a new tabHow to fix?
Upgrade Debian:11
patch
to version 2.7.3-1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream patch
package and not the patch
package as distributed by Debian
.
See How to fix?
for Debian:11
relevant fixed versions and status.
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.
References
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775873
- https://security-tracker.debian.org/tracker/CVE-2015-1395
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154214.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148953.html
- https://git.savannah.gnu.org/cgit/patch.git/commit/?id=17953b5893f7c9835f0dd2a704ba04e0371d2cbd
- https://savannah.gnu.org/bugs/?44059
- http://www.openwall.com/lists/oss-security/2015/01/27/28
- https://bugzilla.redhat.com/show_bug.cgi?id=1184490
- http://www.securityfocus.com/bid/72846
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2015-1395
- http://www.ubuntu.com/usn/USN-2651-1