Live threats

All CVEs / Phusion

CVE-2018-12029Phusion Passenger

High 7.0

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Passenger.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
phusionpassenger≥ 3.0.0 < 5.3.2
debiandebian_linux8.0

Official sources

References

Links published by the sources. Open them with care.