VDB
Sign up
MEDIUM5.3

GHSA-4284-jfhc-f854

Phusion Passenger incorrect permission assignment

Quick fix

GHSA-4284-jfhc-f854 — passenger: upgrade to the fixed version with the command below.

bundle update passenger

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/passenger
Introduced in: 0Fixed in: 5.3.2
Fixbundle update passenger

References