Skip to content

GHSA-9qj7-jvg4-qr2x CVE-2013-2119

Phusion Passenger Denial of Service

Medium RubyGems
Severity
Medium
The publisher's own rating, not a CVSS score
Exploit chance (EPSS)
0.40%
Chance of exploitation in the next 30 days. Higher than 33.94% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
CWE-377 Insecure Temporary File
Fix
3.0.21
Upgrade passenger to this version or later

Description

Phusion Passenger gem before 3.0.21 and 4.0.x before 4.0.5 for Ruby allows local users to cause a denial of service (prevent application start) or gain privileges by pre-creating a temporary "config" file in a directory with a predictable name in /tmp/ before it is used by the gem.

Affected versions

RubyGems

PackageVulnerableFixed in
passenger
< 3.0.21
3.0.21
passenger
>= 4.0.1, < 4.0.5
4.0.5

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 → 3.0.21

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

Weakness

CWE-377: Insecure Temporary File

Creating and using insecure temporary files can leave application and system data vulnerable to attack.

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