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.
{ "nvd_published_at": "2018-06-21T15:29:00Z", "github_reviewed_at": "2022-06-17T21:28:23Z", "severity": "MODERATE", "github_reviewed": true, "cwe_ids": [ "CWE-732" ] }