CVE-2018-12615Phusion Passenger
Medium 5.3 No auth needed
Follow: this CVE · Phusion · Phusion Passenger We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Passenger.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| phusion | passenger | < 5.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory