Vulnerability database / CVE-2015-1395
CVE-2015-1395
HIGH 7.5 CVSS 3.0 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.
Published 25 Aug 2017
Last modified 17 Jun 2026 Assigned by security@debian.org NVD status Modified Weakness
CWE-22 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.0
HIGH 7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NNVD
nvd@nist.gov (Primary)
CVSS 2.0
HIGH 7.8
AV:N/AC:L/Au:N/C:N/I:C/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:20:*:*:*:*:*:*:*
= 20
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:21:*:*:*:*:*:*:*
= 21
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
= 12.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
= 14.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:*
= 14.10
NVD
gnu
patchcpe:2.3:a:gnu:patch:*:*:*:*:*:*:*:*
<= 2.7.2
References
http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154214.html · Patch, Third Party Advisory http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148953.html · Patch, Third Party Advisory http://www.openwall.com/lists/oss-security/2015/01/27/28 · Mailing List, Patch, Third Party Advisory http://www.securityfocus.com/bid/72846 · Third Party Advisory, VDB Entry http://www.ubuntu.com/usn/USN-2651-1 · Patch, Third Party Advisory https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775873 · Issue Tracking, Patch, Third Party Advisory https://bugzilla.redhat.com/show_bug.cgi?id=1184490 · Issue Tracking, Patch, Third Party Advisory https://git.savannah.gnu.org/cgit/patch.git/commit/?id=17953b5893f7c9835f0dd2a704ba04e0371d2cbd · Issue Tracking, Patch https://savannah.gnu.org/bugs/?44059 · Patch, Vendor Advisory
History
25 Nov 2026 20:20 UTC · NVD: first stored (published 25 Aug 2017)