Privilege Escalation Affecting passenger package, versions <5.3.2


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.07% (29th percentile)
Expand this section
NVD
5.3 medium
Expand this section
Red Hat
5.3 medium

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

How 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.

References