CVE-2015-1395
High · 7.5CVSS
7.5
EPSS
11.3%
Published
Aug 25, 2017
CISA due date
—
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | patch | 0 | 2.7.3-1 |
| Debian:12 | patch | 0 | 2.7.3-1 |
| Debian:13 | patch | 0 | 2.7.3-1 |
| Mageia:4 | patch | 0 | 2.7.4-1.mga4 |
| SUSE:Linux Enterprise Desktop 12 | patch | 0 | 2.7.5-7.1 |
| SUSE:Linux Enterprise Server 12 | patch | 0 | 2.7.5-7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | patch | 0 | 2.7.5-7.1 |
| Ubuntu:14.04:LTS | patch | 0 | 2.7.1-4ubuntu2.3 |
Related vulnerabilities
- CVE-2010-4651 Directory traversal vulnerability in util.c in GNU patch 2.6.1 and earlier allows… Also affects patch
- CVE-2026-81163 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')… CWE-22
- CVE-2026-112049 Vita3K before build 4187 contains a path traversal (zip slip) vulnerability in… CWE-22
- CVE-2026-112005 WhoDB 0.104.0 before 0.135.0 contains a path traversal vulnerability that allows remote… CWE-22
- CVE-2026-61702 OpenPrinting CUPS is an open source printing system for Linux and other Unix-like… CWE-22
- CVE-2026-104871 The Angular SSR is a server-rise rendering tool for Angular applications. CWE-22
- CVE-2026-102991 Mako is a template library written in Python. CWE-22
- CVE-2026-101894 The decompress package for Node.js extracts archives. CWE-22