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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | passenger (RubyGems) | before 4.0.6 | 4.0.6 | Patch available | GHSA-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
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:phusion:passenger:*:*:*:*:*:*:*:* | up to 4.0.5 | Vulnerable | Phusion |
| cpe:2.3:a:phusion:passenger:4.0.1:*:*:*:*:*:*:* | 4.0.1 | Vulnerable | Phusion |
| cpe:2.3:a:phusion:passenger:4.0.2:*:*:*:*:*:*:* | 4.0.2 | Vulnerable | Phusion |
| cpe:2.3:a:phusion:passenger:4.0.3:*:*:*:*:*:*:* | 4.0.3 | Vulnerable | Phusion |
| cpe:2.3:a:phusion:passenger:4.0.4:*:*:*:*:*:*:* | 4.0.4 | Vulnerable | Phusion |
| cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* | all versions | Running on | ruby |
- 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 Moderaterubygem-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 →
| Product | Status | Plan or fix |
|---|---|---|
| RHOSE Infrastructure 1.2 | Fixed | RHSA-2013:1136 |
| Red Hat OpenShift Enterprise Node | Fixed | RHSA-2013:1136 |
Timeline
- 2026-10-02 Threatist record created from CVE-2013-4136
- 2026-10-03 Alias added: GHSA-w6rc-q387-vpgq
References
Advisory 3
Other 6
- https://github.com/phusion/passenger/blob/release-4.0.6/NEWS
- https://code.google.com/p/phusion-passenger/issues/detail?id=910
- https://github.com/phusion/passenger/commit/5483b3292cc2af1c83033eaaadec20dba4dcfd9b
- [oss-security] 20130716 Re: Re: Insecure temp files usage in phusion passenger (other than CVE-2013-2119)
- https://github.com/phusion/passenger
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/passenger/CVE-2013-4136.yml
More Phusion Passenger vulnerabilities
- 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
Sources
- CVE-2013-4136 · CVE Program
- CVE-2013-4136 · NVD
- FIRST EPSS
- GHSA-w6rc-q387-vpgq · GitHub Advisory Database · CC BY 4.0
- CVE-2013-4136 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences