CVE-2015-1395
patch: directory traversal via file rename
Severity
ModerateRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · January 20, 2015
Updated · May 13, 2026
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.
Statement
Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 2.0 · 3.6AV:L/AC:L/Au:N/C:P/I:P/A:N
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')