Path Traversal in GNU Patch
CVE-2015-1395
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.113 · 96.1th percentile
- Published
- 2017-08-25
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.113, 96.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- GNU Patch
- Canonical Ubuntu Linux — versions 12.04, 14.04, 14.10
- Fedoraproject Fedora — versions 20, 21
Weakness classification (CWE)
References
- bugs.debian.org/cgi-bin/bugreport.cgi (Patch, Third Party Advisory, Issue Tracking)
- www.securityfocus.com/bid/72846 (Third Party Advisory, VDB Entry, vdb-entry)
- FEDORA-2015-1134 (vendor-advisory, Patch, Third Party Advisory)
- savannah.gnu.org/bugs/ (Patch, Vendor Advisory)
- [oss-security] 20150127 Re: CVE Request: patch: directory traversal via file rename (mailing-list, Patch, Mailing List, Third Party Advisory)
- git.savannah.gnu.org/cgit/patch.git/commit/ (Patch, Issue Tracking)
- FEDORA-2015-1165 (vendor-advisory, Patch, Third Party Advisory)
- USN-2651-1 (vendor-advisory, Patch, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)