Symlink Attack Affecting patch package, versions [0,2.7.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
6.1% (93rd 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 IDSNYK-UNMANAGED-PATCH-2368544
  • published26 Jan 2022
  • disclosed21 Jan 2015
  • creditUnknown

Introduced: 21 Jan 2015

CVE-2015-1196  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade patch to version 2.7.4 or higher.

Overview

Affected versions of this package are vulnerable to Symlink Attack. GNU patch 2.7.1 allows remote attackers to write to arbitrary files via a symlink attack in a patch file.

References

CVSS Base Scores

version 3.1