Skip to content

GHSA-cqxw-3p7v-p9gr CVE-2016-10345

Phusion Passenger uses a known /tmp filename

High RubyGems
Severity
7.8 / 10
High · CVSS 3.0
Exploit chance (EPSS)
0.46%
Chance of exploitation in the next 30 days. Higher than 40.21% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
—
Not classified
Fix
5.1.0
Upgrade passenger to this version or later

Description

In Phusion Passenger before 5.1.0, a known /tmp filename was used during passenger-install-nginx-module execution, which could allow local attackers to gain the privileges of the passenger user

Affected versions

RubyGems

PackageVulnerableFixed in
passenger
< 5.1.0
5.1.0

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

passenger RubyGems → 5.1.0

bundler
bundle update passenger # Gemfile: gem "passenger", ">= 5.1.0"

Severity breakdown

CVSS 3.0 7.8

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy it's related
GHSA-2cj2-qqxj-5m3r
Phusion Passenger denial of service
High Also affects passenger
GHSA-jjcj-fgfm-9g9r
Phusion Passenger Race Condition Allows Privilege Escalation
High Also affects passenger
GHSA-7cv3-gvmc-8mq5
Phusion Passenger SpawningKit Contains Arbitrary Read/Write Vulnerability
Critical Also affects passenger
GHSA-4284-jfhc-f854
Phusion Passenger incorrect permission assignment
Medium Also affects passenger
GHSA-whfx-877c-5p28
Insecure Permissions in Phusion Passenger
High Also affects passenger
GHSA-jjhj-8gx7-x836
Incorrect Access Control in Phusion Passenger
High Also affects passenger
GHSA-cv3f-px9r-54hm
Phusion Passenger information disclosure
Medium Also affects passenger
GHSA-8mw8-j583-vqfg
RubyGems passenger gem allows remote attackers to delete files
High Also affects passenger
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor