CVE-2018-12029

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.
Race Condition
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7 HIGH
LOCAL
HIGH
LOW
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 28%
VendorProductVersion
phusionpassenger
3.0.0 ≤
𝑥
< 5.3.2
debiandebian_linux
8.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
passenger
bullseye
5.0.30-1.2+deb11u1
fixed
bookworm
6.0.17+ds-1
fixed
sid
6.0.20+ds-1
fixed
trixie
6.0.20+ds-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
passenger
jammy
not-affected
impish
not-affected
hirsute
not-affected
groovy
not-affected
focal
not-affected
eoan
not-affected
disco
Fixed 5.0.30-1+deb9u1build0.19.04.1
released
cosmic
Fixed 5.0.30-1+deb9u1build0.18.10.1
released
bionic
Fixed 5.0.30-1+deb9u1build0.18.04.1
released
artful
ignored
xenial
Fixed 5.0.27-2ubuntu0.1~esm1
released
trusty
dne
ruby-passenger
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
eoan
dne
disco
dne
cosmic
dne
bionic
dne
artful
dne
xenial
dne
trusty
dne