Access Restriction Bypass Affecting phusion/passenger package, versions [,5.3.2)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.08% (36th 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-2364866
  • published26 Jan 2022
  • disclosed21 Jun 2018
  • creditUnknown

Introduced: 21 Jun 2018

CVE-2018-12615  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade phusion/passenger to version 5.3.2 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. An issue was discovered in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp in Phusion Passenger before 5.3.2. The set of groups (gidset) is not set correctly, leaving it up to randomness (i.e., uninitialized memory) which supplementary groups are actually being set while lowering privileges.

References

CVSS Scores

version 3.1