Directory Traversal Affecting patch package, versions [,2.7.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
11.2% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PATCH-2368543
  • published26 Jan 2022
  • disclosed25 Aug 2017
  • creditUnknown

Introduced: 25 Aug 2017

CVE-2015-1395  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade patch to version 2.7.3 or higher.

Overview

Affected versions of this package are vulnerable to Directory Traversal. 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.

References

CVSS Base Scores

version 3.1