National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2015-1395 Detail

Current 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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 7.5 HIGH
Vector:  CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
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

Weakness Enumeration

CWE-ID CWE Name Source
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:o:fedoraproject:fedora:20:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:fedoraproject:fedora:21:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 2 ( hide )
 cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 3 ( hide )
 cpe:2.3:a:gnu:patch:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
2.7.2


Change History

1 change record found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2015-1395
NVD Published Date:
08/25/2017
NVD Last Modified:
08/29/2017