Read the docs
TI-2013-03613 Aliases CVE-2013-4136GHSA-w6rc-q387-vpgq

ext/common/ServerInstanceDir.h in Phusion Passenger gem before 4.0.6 for Ruby allows…

Priority LOW 20CWE-59Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Medium
Impact type
—
Confidentiality · integrity · availability
Partial · Partial · Partial
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA, GitHub and Red Hat.

Summary

ext/common/ServerInstanceDir.h in Phusion Passenger gem before 4.0.6 for Ruby allows local users to gain privileges or possibly change the ownership of arbitrary directories via a symlink attack on a directory with a predictable name in /tmp/.

Why it matters now

EPSS 0.00326 25th percentileScored 2026-11-07
Fix Fixed passenger (RubyGems): 4.0.6Red Hat: 1 advisory

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—passenger (RubyGems)before 4.0.64.0.6Patch availableGHSA-w6rc-q387-vpgq
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • passenger (RubyGems) Vendor— Affected before 4.0.6 Fixed in 4.0.6 Patch available GHSA-w6rc-q387-vpgq

CPE configurations NVD · 6

CPEVersionsRoleVendor
cpe:2.3:a:phusion:passenger:*:*:*:*:*:*:*:*up to 4.0.5VulnerablePhusion
cpe:2.3:a:phusion:passenger:4.0.1:*:*:*:*:*:*:*4.0.1VulnerablePhusion
cpe:2.3:a:phusion:passenger:4.0.2:*:*:*:*:*:*:*4.0.2VulnerablePhusion
cpe:2.3:a:phusion:passenger:4.0.3:*:*:*:*:*:*:*4.0.3VulnerablePhusion
cpe:2.3:a:phusion:passenger:4.0.4:*:*:*:*:*:*:*4.0.4VulnerablePhusion
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*all versionsRunning onruby
  • cpe:2.3:a:phusion:passenger:*:*:*:*:*:*:*:* Versions up to 4.0.5 Vulnerable ·Phusion
  • cpe:2.3:a:phusion:passenger:4.0.1:*:*:*:*:*:*:* Versions 4.0.1 Vulnerable ·Phusion
  • cpe:2.3:a:phusion:passenger:4.0.2:*:*:*:*:*:*:* Versions 4.0.2 Vulnerable ·Phusion
  • cpe:2.3:a:phusion:passenger:4.0.3:*:*:*:*:*:*:* Versions 4.0.3 Vulnerable ·Phusion
  • cpe:2.3:a:phusion:passenger:4.0.4:*:*:*:*:*:*:* Versions 4.0.4 Vulnerable ·Phusion
  • cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* Versions all versions Running on ·ruby

Remediation

  • Fix · GHSA-w6rc-q387-vpgq passenger (RubyGems) Fixed in 4.0.6 Advisory →

Red Hat 1 advisory

  • RHSA-2013:1136 Released 2013-08-05 · Red Hat rating Moderate
    rubygem-passenger security update
    • RHOSE Infrastructure 1.2 mod_passenger-3.0.21-3.el6op, ruby193-mod_passenger-3.0.21-3.el6op, ruby193-rubygem-passenger-3.0.21-3.el6op +13
    • Red Hat OpenShift Enterprise Node mod_passenger-3.0.21-3.el6op, ruby193-mod_passenger-3.0.21-3.el6op, ruby193-rubygem-passenger-3.0.21-3.el6op +13

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
RHOSE Infrastructure 1.2Fixed RHSA-2013:1136
Red Hat OpenShift Enterprise NodeFixed RHSA-2013:1136

Timeline

  1. 2026-10-02 Threatist record created from CVE-2013-4136
  2. 2026-10-03 Alias added: GHSA-w6rc-q387-vpgq

References

  • TI-2018-08619 During the spawning of a malicious Passenger-managed application, SpawningKit in Phusion… CVSS 3.0CRITICAL 9.8
  • TI-2025-19710 Use of uninitialized resource in Phusion Passenger CVSS 3.1HIGH 7.5
  • TI-2018-08620 An Insecure Permissions vulnerability in SpawningKit in Phusion Passenger 5.3.x before… CVSS 3.0HIGH 8.8
  • TI-2012-05097 RubyGems passenger 4.0.0 betas 1 and 2 allows remote attackers to delete arbitrary files during the startup process. CVSS 3.1HIGH 7.5
  • TI-2018-08621 An Incorrect Access Control vulnerability in SpawningKit in Phusion Passenger 5.3.x… CVSS 3.0HIGH 7.8
  • TI-2016-08407 In Phusion Passenger before 5.1.0, a known /tmp filename was used during… CVSS 3.0HIGH 7.8
See all 12 →

Sources