CVE-2018-12029

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