CVE-2018-12029
mediumpriority · track · 28EPSS 0.003 · 20 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.4–7
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (8)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-jjcj-fgfm-9g9rPhusion Passenger Race Condition Allows Privilege Escalation2022-05-14ghsa · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://blog.phusion.nl/2018/06/12/passenger-5-3-2-various-security-fixes/Patchcnnvd
- https://blog.phusion.nl/passenger-5-3-2cnnvd
- https://lists.debian.org/debian-lts-announce/2018/06/msg00007.htmlcnnvd
- https://pulsesecurity.co.nz/advisories/phusion-passenger-priv-esccnnvd
- https://security.gentoo.org/glsa/201807-02cnnvd
- https://blog.phusion.nl/passenger-5-3-2enisa_euvd
- https://lists.debian.org/debian-lts-announce/2018/06/msg00007.htmlenisa_euvd
- https://pulsesecurity.co.nz/advisories/phusion-passenger-priv-escenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan