MEDIUM 5.3 RubyGems

Phusion Passenger incorrect permission assignment

GHSA-4284-jfhc-f854 · CVE-2018-12615

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes