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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-2266 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.
Github GHSA Github GHSA GHSA-4284-jfhc-f854 Phusion Passenger incorrect permission assignment
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-09-17T04:24:12.056Z

Reserved: 2018-06-21T00:00:00Z

Link: CVE-2018-12615

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-06-21T15:29:00.367

Modified: 2024-11-21T03:45:32.913

Link: CVE-2018-12615

cve-icon Redhat

Severity : Moderate

Publid Date: 2018-05-29T00:00:00Z

Links: CVE-2018-12615 - Bugzilla

cve-icon OpenCVE Enrichment

No data.