Phusion Passenger incorrect permission assignment
Published: May 13, 2022
SECURITY IDENTIFIERS
- CVE: CVE-2018-12615 (NVD)
- GHSA: GHSA-4284-jfhc-f854
- Vendor Advisory: https://github.com/phusion/passenger/commit/4e97fdb86d0a0141ec9a052c6e691fcd07bb45c8
GEM
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.
