CVE-2018-12029Phusion Passenger
High 7.0
Follow: this CVE · Phusion · Phusion Passenger We alert you by email or Slack (account required).
- Priority
- 42
- CVSS 3.0
- 7.0
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 20
- Auth required
- Yes
- Published
- Jun 17, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-362
- Vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
A race condition in the nginx module in Phusion Passenger 3.x through 5.x before 5.3.2 allows local escalation of privileges when a non-standard passenger_instance_registry_dir with insufficiently strict permissions is configured. Replacing a file with a symlink after the file was created, but before it was chowned, leads to the target of the link being chowned via the path. Targeting sensitive files such as root's crontab file allows privilege escalation.
What to do
- Apply the vendor's security update for Passenger.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | passenger |
≥ 3.0.0 < 5.3.2 |
5.3.2 |
gem "passenger", ">= 5.3.2" |
Per OSV / GitHub Advisories (GHSA-jjcj-fgfm-9g9r). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| phusion | passenger | ≥ 3.0.0 < 5.3.2 |
| debian | debian_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- blog.phusion.nl Mitigation Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- pulsesecurity.co.nz Third Party Advisory
- security.gentoo.org Third Party Advisory