RubySec

Providing security resources for the Ruby community

CVE-2018-12615 (passenger): Phusion Passenger incorrect permission assignment

ADVISORIES

GEM

passenger

SEVERITY

CVSS v3.x: 5.3 (Medium)

PATCHED VERSIONS

  • >= 5.3.2

DESCRIPTION

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.