CVE-2018-12029: Race Condition

Published Jun 17, 2018
·
Updated

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 passengerinstanceregistrydir 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.

Affected Software

3 affected componentsFixes available
debian/passenger
5.0.30-1.15.0.30-1.2+deb11u16.0.17+ds-1
Phusion Passenger>=3.0.0<5.3.2
Debian Debian Linux=8.0

Event History

Jun 17, 2018
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description

Frequently Asked Questions

1

What is CVE-2018-12029?

CVE-2018-12029 is a vulnerability in the nginx module in Phusion Passenger, which allows local escalation of privileges when a non-standard passenger_instance_registry_dir with insufficiently strict permissions is configured.

2

How severe is CVE-2018-12029?

CVE-2018-12029 has a severity score of 7 (high).

3

Which software versions are affected by CVE-2018-12029?

Phusion Passenger versions 3.x through 5.x before 5.3.2 are affected by CVE-2018-12029.

4

How can I fix CVE-2018-12029?

To fix CVE-2018-12029, you should update Phusion Passenger to version 5.3.2 or later.

5

Where can I find more information about CVE-2018-12029?

You can find more information about CVE-2018-12029 at the following references: [1](https://blog.phusion.nl/passenger-5-3-2), [2](https://lists.debian.org/debian-lts-announce/2018/06/msg00007.html), [3](https://pulsesecurity.co.nz/advisories/phusion-passenger-priv-esc)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203