CVE-2018-12029
publishedpassenger: CHMOD race condition in nginx_module/ngx_http_passenger_module.c allows for local privilege escalation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | ruby-passenger | Advisory build | 4.0.53-1+deb8u1 | DLA-1399-1 |
| SUSE / openSUSE | SLE-12 | ruby2.1-rubygem-passengerx86_64 | Advisory build | 5.0.18-12.9.1 | SUSE-SU-2018:2039-1 |
| Ubuntu | xenial | libapache2-mod-passenger | Advisory build | 5.0.27-2ubuntu0.1~esm1 | USN-5261-1 |
| SUSE / openSUSE | SLE-12 | rubygem-passengerx86_64 | Advisory build | 5.0.18-12.9.1 | SUSE-SU-2018:2039-1 |
| SUSE / openSUSE | SLE-12 | rubygem-passenger-apache2x86_64 | Advisory build | 5.0.18-12.9.1 | SUSE-SU-2018:2039-1 |
| SUSE / openSUSE | SLE-12-SP3 | ruby2.1-rubygem-passengerx86_64 | Advisory build | 5.0.18-12.9.1 | SUSE-SU-2018:2039-1 |
| SUSE / openSUSE | SLE-12-SP3 | rubygem-passengerx86_64 | Advisory build | 5.0.18-12.9.1 | SUSE-SU-2018:2039-1 |
Show 29 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP3 | rubygem-passenger-apache2x86_64 | Advisory build | 5.0.18-12.9.1 | SUSE-SU-2018:2039-1 |
| SUSE / openSUSE | SLE-12-SP4 | ruby2.1-rubygem-passengerx86_64 | Advisory build | 5.0.18-12.9.1 | SUSE-SU-2018:2039-1 |
| SUSE / openSUSE | SLE-12-SP4 | rubygem-passengerx86_64 | Advisory build | 5.0.18-12.9.1 | SUSE-SU-2018:2039-1 |
| SUSE / openSUSE | SLE-12-SP4 | rubygem-passenger-apache2x86_64 | Advisory build | 5.0.18-12.9.1 | SUSE-SU-2018:2039-1 |
| SUSE / openSUSE | SLE-12-SP5 | ruby2.1-rubygem-passengerx86_64 | Advisory build | 5.0.18-12.9.1 | SUSE-SU-2018:2039-1 |
| SUSE / openSUSE | SLE-12-SP5 | rubygem-passengerx86_64 | Advisory build | 5.0.18-12.9.1 | SUSE-SU-2018:2039-1 |
| SUSE / openSUSE | SLE-12-SP5 | rubygem-passenger-apache2x86_64 | Advisory build | 5.0.18-12.9.1 | SUSE-SU-2018:2039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-passengeraarch64 | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-passengerppc64le | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-passengers390x | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-passengerx86_64 | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-passengeraarch64 | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-passengerppc64le | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-passengers390x | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-passengerx86_64 | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rubygem-passengeraarch64 | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rubygem-passengerppc64le | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rubygem-passengers390x | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rubygem-passengerx86_64 | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rubygem-passenger-apache2aarch64 | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rubygem-passenger-apache2ppc64le | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rubygem-passenger-apache2s390x | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rubygem-passenger-apache2x86_64 | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rubygem-passenger-nginxaarch64 | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rubygem-passenger-nginxppc64le | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rubygem-passenger-nginxs390x | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rubygem-passenger-nginxx86_64 | Advisory build | 6.0.8-3.2 | OPENSUSE-SU-2024:11341-1 |
| Ubuntu | xenial | passenger | Advisory build | 5.0.27-2ubuntu0.1~esm1 | USN-5261-1 |
| Ubuntu | xenial | ruby-passenger | Advisory build | 5.0.27-2ubuntu0.1~esm1 | USN-5261-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
4- https://blog.phusion.nl/passenger-5-3-2
- [debian-lts-announce] 20180627 [SECURITY] [DLA 1399-1] ruby-passenger security update https://lists.debian.org/debian-lts-announce/2018/06/msg00007.html
- https://pulsesecurity.co.nz/advisories/phusion-passenger-priv-esc
- GLSA-201807-02 https://security.gentoo.org/glsa/201807-02
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 62895ea57422f954842aca5c4d48924b79480a917788cd50d936f3cab64597f9
- Ingested
- 23 Sep 2026, 07:43:30 UTC
- Source record
- Official CVE record