Race Condition Affecting passenger package, versions <5.0.30-1.1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.04% (6th 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 Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN10-PASSENGER-339082
  • published17 Jun 2018
  • disclosed17 Jun 2018

Introduced: 17 Jun 2018

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

How to fix?

Upgrade Debian:10 passenger to version 5.0.30-1.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream passenger package and not the passenger package as distributed by Debian. See How to fix? for Debian: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.