Live threats

All CVEs / Phusion

CVE-2018-12615Phusion Passenger

Medium 5.3 No auth needed

Priority
47
CVSS 3.0
5.3
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
No
Published
Jun 21, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-732
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Passenger.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems passenger < 5.3.2 5.3.2 gem "passenger", ">= 5.3.2"

Per OSV / GitHub Advisories (GHSA-4284-jfhc-f854). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
phusionpassenger< 5.3.2

Official sources

References

Links published by the sources. Open them with care.