Skip to content
Noroxi
CVE-2013-4136· NVD / CVE Program· CNA redhat

ext/common/ServerInstanceDir.h in Phusion Passenger gem before 4.0.6 for Ruby allows local users to gain privileges or possibly change the o

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/.

MediumCVSS 4.4 · v2.0—No exploit Fix available
Published
Sep 30, 2013
Updated
Jun 16, 2026
EPSS
0.3% · 24th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

17

Monitor

Low priority for now.

CVSS
17 / 40 · 4.4 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

Affected systems

VendorProduct
phusionpassenger
ruby-langruby

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • phusion passengerup to 4.0.5 inclusive
  • phusion passenger4.0.1
  • phusion passenger4.0.2
  • phusion passenger4.0.3
  • phusion passenger4.0.4

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12passengerbefore 3.0.13debian-1.23.0.13debian-1.2
Red Hat:openshift:1.2::el6mod_passengerbefore 0:3.0.21-3.el6op0:3.0.21-3.el6op
Red Hat:openshift:1.2::el6ruby193-mod_passengerbefore 0:3.0.21-3.el6op0:3.0.21-3.el6op
Red Hat:openshift:1.2::el6ruby193-rubygem-passengerbefore 0:3.0.21-3.el6op0:3.0.21-3.el6op
Red Hat:openshift:1.2::el6ruby193-rubygem-passenger-debuginfobefore 0:3.0.21-3.el6op0:3.0.21-3.el6op
Red Hat:openshift:1.2::el6ruby193-rubygem-passenger-develbefore 0:3.0.21-3.el6op0:3.0.21-3.el6op
Red Hat:openshift:1.2::el6ruby193-rubygem-passenger-docbefore 0:3.0.21-3.el6op0:3.0.21-3.el6op
Red Hat:openshift:1.2::el6ruby193-rubygem-passenger-nativebefore 0:3.0.21-3.el6op0:3.0.21-3.el6op
Red Hat:openshift:1.2::el6ruby193-rubygem-passenger-native-libsbefore 0:3.0.21-3.el6op0:3.0.21-3.el6op
Red Hat:openshift:1.2::el6rubygem-file-tailbefore 0:1.0.5-4.el6op0:1.0.5-4.el6op
Red Hat:openshift:1.2::el6rubygem-file-tail-docbefore 0:1.0.5-4.el6op0:1.0.5-4.el6op
Red Hat:openshift:1.2::el6rubygem-passengerbefore 0:3.0.21-3.el6op0:3.0.21-3.el6op
Red Hat:openshift:1.2::el6rubygem-passenger-debuginfobefore 0:3.0.21-3.el6op0:3.0.21-3.el6op
Red Hat:openshift:1.2::el6rubygem-passenger-develbefore 0:3.0.21-3.el6op0:3.0.21-3.el6op
Red Hat:openshift:1.2::el6rubygem-passenger-docbefore 0:3.0.21-3.el6op0:3.0.21-3.el6op
Red Hat:openshift:1.2::el6rubygem-passenger-nativebefore 0:3.0.21-3.el6op0:3.0.21-3.el6op
Red Hat:openshift:1.2::el6rubygem-passenger-native-libsbefore 0:3.0.21-3.el6op0:3.0.21-3.el6op
Red Hat:openshift:1.2::el6rubygem-spruzbefore 0:0.2.5-4.el6op0:0.2.5-4.el6op
Red Hat:openshift:1.2::el6rubygem-spruz-docbefore 0:0.2.5-4.el6op0:0.2.5-4.el6op
RubyGemspassengerbefore 4.0.64.0.6
SUSE:Lifecycle Management Server 1.3rubygem-passengerbefore 3.0.14-0.14.13.0.14-0.14.1

Other highest-scoring records for the same primary product.

  • CVE-2018-12026During the spawning of a malicious Passenger-managed application, SpawningKit in Phusion Passenger 5.3.x before 5.3.2 allows such applicatio
    40Plan
  • CVE-2018-12027An Insecure Permissions vulnerability in SpawningKit in Phusion Passenger 5.3.x before 5.3.2 causes information disclosure in the following
    35Monitor
  • CVE-2012-6135RubyGems passenger 4.0.0 betas 1 and 2 allows remote attackers to delete arbitrary files during the startup process.
    31Monitor
  • CVE-2018-12028An Incorrect Access Control vulnerability in SpawningKit in Phusion Passenger 5.3.x before 5.3.2 allows a Passenger-managed malicious applic
    31Monitor
  • CVE-2016-10345In Phusion Passenger before 5.1.0, a known /tmp filename was used during passenger-install-nginx-module execution, which could allow local a
    31Monitor
  • CVE-2025-26803The http parser in Phusion Passenger 6.0.21 through 6.0.25 before 6.0.26 allows a denial of service during parsing of a request with an inva
    30Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:passenger3.0.13debian-1.2 · Debian:12Package registry (OSV)
red hat:mod_passenger0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6Package registry (OSV)
red hat:ruby193-mod_passenger0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6Package registry (OSV)
red hat:ruby193-rubygem-passenger0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6Package registry (OSV)
red hat:ruby193-rubygem-passenger-debuginfo0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6Package registry (OSV)
red hat:ruby193-rubygem-passenger-devel0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6Package registry (OSV)
red hat:ruby193-rubygem-passenger-doc0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6Package registry (OSV)
red hat:ruby193-rubygem-passenger-native0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6Package registry (OSV)
red hat:ruby193-rubygem-passenger-native-libs0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6Package registry (OSV)
red hat:rubygem-file-tail0:1.0.5-4.el6op · Red Hat:openshift:1.2::el6Package registry (OSV)
red hat:rubygem-file-tail-doc0:1.0.5-4.el6op · Red Hat:openshift:1.2::el6Package registry (OSV)
red hat:rubygem-passenger0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6Package registry (OSV)
red hat:rubygem-passenger-debuginfo0:3.0.21-3.el6op · Red Hat:openshift:1.2::el6Package registry (OSV)
RubyGems:passenger4.0.6Package registry (OSV)
suse:rubygem-passenger3.0.14-0.14.1 · SUSE:Lifecycle Management Server 1.3Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Technical details

Attack conditions

    If successful

    Confidentiality
    P · data can be read
    Integrity
    P · data or configuration can be modified
    Availability
    P · the service can be disrupted
    Attack complexity
    M
    Confidentiality impact
    P
    Integrity impact
    P
    Availability impact
    P

    CVSS vector

    AV:L/AC:M/Au:N/C:P/I:P/A:P

    nvd-primary

    Noroxi analysis

    No Noroxi analysis for this record yet

    We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

    We use this product, ask for help

    Change log

    1. Fix✗ → ✓

    For records you follow, these changes also arrive as notifications. →

    References

    All records