Directory Traversal Affecting patch package, versions <2.7.3-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.34% (72nd 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-DEBIAN11-PATCH-516290
  • published25 Aug 2017
  • disclosed25 Aug 2017

Introduced: 25 Aug 2017

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

How to fix?

Upgrade Debian:11 patch to version 2.7.3-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream patch package and not the patch package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.

CVSS Scores

version 3.1