Affected versions
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
RubyGemspassenger
- Affected versions
- < 5.3.2
- Fixed version
- 5.3.2
Exploitation
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.
Links
- https://github.com/advisories/GHSA-4284-jfhc-f854
- https://github.com/phusion/passenger
- https://github.com/phusion/passenger/commit/4e97fdb86d0a0141ec9a052c6e691fcd07bb45c8
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/passenger/CVE-2018-12615.yml
- https://nvd.nist.gov/vuln/detail/CVE-2018-12615
Credits
- jhutchings1

