CVE-2018-12029: debian debian_linux Race Condition
Vulnerability summary
CVE-2018-12029 is a high (CVSS 7.0) Race Condition vulnerability in debian debian_linux. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 18.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 1Timeline
- 17-06-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.0HighCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.0HighCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · RubygemsEcosystem advisory · calculated7.0HighCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.28%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
0.00 pp
From 0.28% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian2 products
- passenger< 5.0.30-1.1
- debian_linuxEOL8.0
Phusion1 product
- passenger≥ 3.0.0, < 5.3.2
RubyGems1 product
- passenger≥ 3.0.0, < 5.3.2
Suse1 product
- rubygem-passenger&distro=SUSE Linux Enterprise Module for Containers 12< 5.0.18-12.9.1
Ubuntu1 product
- passenger< 5.0.27-2ubuntu0.1~esm1 | < 5.0.30-1+deb9u1build0.18.04.1
5 vendors · 6 products
References
15 links- pulsesecurity.co.nz/advisories/phusion-passenger-priv-escX Refsource MISCThird Party AdvisoryREPORTWEB
- lists.debian.org/debian-lts-announce/2018/06/msg00007.htmlMailing ListX Refsource MLISTThird Party AdvisoryWEB