Security mailing lists by PureSourceCode

CVE-2018-12029

HIGH 7.0CVSS 3.0

Phusion Passenger Race Condition Allows Privilege Escalation

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.

Published
17 Jun 2018
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-362
Also known as
GHSA-jjcj-fgfm-9g9r
Sources
NVDJSONOSV GHSA-jjcj-fgfm-9g9rJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 7.0 CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 HIGH 7.0 CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.4 AV:L/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD phusion passenger
cpe:2.3:a:phusion:passenger:*:*:*:*:*:*:*:*
>= 3.0.0, < 5.3.2 5.3.2
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
OSV RubyGems passenger >= 3.0.0, < 5.3.2 5.3.2

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 17 Jun 2018)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.