Improper Link Resolution Before File Access ('Link Following') Affecting zsh-users/zsh package, versions [,4.3.4-dev5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (25th 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-ZSHUSERSZSH-2369448
  • published26 Jan 2022
  • disclosed4 Dec 2007
  • creditUnknown

Introduced: 4 Dec 2007

CVE-2007-6209  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade zsh-users/zsh to version 4.3.4-dev5 or higher.

Overview

Affected versions of this package are vulnerable to Improper Link Resolution Before File Access ('Link Following'). Util/difflog.pl in zsh 4.3.4 allows local users to overwrite arbitrary files via a symlink attack on temporary files.

CVSS Base Scores

version 3.1