Race Condition Affecting rubygem-passenger package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.28% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-RUBYGEMPASSENGER-9885191
  • published28 Apr 2025
  • disclosed5 Jun 2018

Introduced: 5 Jun 2018

CVE-2018-12029  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 rubygem-passenger.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-passenger package and not the rubygem-passenger package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.