CVE-2015-1395

HIGH

GNU patch <2.7.3 - Path Traversal

Title source: llm

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.

Scores

CVSS v3 7.5
EPSS 0.0133
EPSS Percentile 79.7%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

CWE
CWE-22
Status draft

Affected Products (6)

fedoraproject/fedora
fedoraproject/fedora
canonical/ubuntu_linux
canonical/ubuntu_linux
canonical/ubuntu_linux
gnu/patch < 2.7.2

Timeline

Published Aug 25, 2017
Tracked Since Feb 18, 2026