Privilege Escalation Affecting passenger package, versions <5.3.2
Snyk CVSS
Attack Complexity
Low
Threat Intelligence
EPSS
0.07% (29th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-PASSENGER-174546
- published 30 Apr 2019
- disclosed 21 Jun 2018
- credit Unknown
Introduced: 21 Jun 2018
CVE-2018-12615 Open this link in a new tabHow to fix?
Upgrade passenger
to version 5.3.2 or higher.
Overview
passenger is a web server and application server for Ruby, Python and Node.js, optimized for performance, low memory usage and ease of use.
Affected versions of this package are vulnerable to Privilege Escalation via the switchGroup()
function in agent/ExecHelper/ExecHelperMain.cpp
. The set of groups was not set correctly, leaving it up to randomness which supplementary groups were actually being set while lowering privileges.