Symlink Attack Affecting phusion/passenger package, versions [0,4.0.8)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th 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-PHUSIONPASSENGER-2364862
  • published26 Jan 2022
  • disclosed30 Sept 2013
  • creditUnknown

Introduced: 30 Sep 2013

CVE-2013-4136  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade phusion/passenger to version 4.0.8 or higher.

Overview

Affected versions of this package are vulnerable to Symlink Attack ext/common/ServerInstanceDir.h in Phusion Passenger gem before 4.0.6 for Ruby allows local users to gain privileges or possibly change the ownership of arbitrary directories via a symlink attack on a directory with a predictable name in /tmp/.

CVSS Scores

version 3.1