What’s Vulnerable › Vulnerabilities
CVE-2015-1395
- Severity: high (CVSS 7.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 11.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2017-08-25 · updated 2026-06-17
- Weakness: CWE-22
Description
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.
Affected products
- Canonical Ubuntu Linux: 12.04, 14.04, 14.10
- Fedoraproject Fedora: 20, 21
- GNU patch: through 2.7.2
References
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154214.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148953.html
- http://www.openwall.com/lists/oss-security/2015/01/27/28
- http://www.securityfocus.com/bid/72846
- http://www.ubuntu.com/usn/USN-2651-1
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775873
- https://bugzilla.redhat.com/show_bug.cgi?id=1184490
- https://git.savannah.gnu.org/cgit/patch.git/commit/?id=17953b5893f7c9835f0dd2a704ba04e0371d2cbd
- https://savannah.gnu.org/bugs/?44059
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154214.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148953.html
- http://www.openwall.com/lists/oss-security/2015/01/27/28
Get alerted when CVE-2015-1395 or the next vulnerability affects your stack