CVE-2013-4136
MEDIUM 4.4CVSS 2.0insecure temporary directory usage in passenger
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/.
- Published
- 30 Sep 2013
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-59
- Also known as
- GHSA-w6rc-q387-vpgq
- Sources
- NVDJSONOSV GHSA-w6rc-q387-vpgqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.4 | AV:L/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | phusion | passengercpe:2.3:a:phusion:passenger:*:*:*:*:*:*:*:* |
<= 4.0.5 | |
| NVD | phusion | passengercpe:2.3:a:phusion:passenger:4.0.1:*:*:*:*:*:*:* |
= 4.0.1 | |
| NVD | phusion | passengercpe:2.3:a:phusion:passenger:4.0.2:*:*:*:*:*:*:* |
= 4.0.2 | |
| NVD | phusion | passengercpe:2.3:a:phusion:passenger:4.0.3:*:*:*:*:*:*:* |
= 4.0.3 | |
| NVD | phusion | passengercpe:2.3:a:phusion:passenger:4.0.4:*:*:*:*:*:*:* |
= 4.0.4 | |
| OSV | RubyGems | passenger | < 4.0.6 | 4.0.6 |
References
- http://rhn.redhat.com/errata/RHSA-2013-1136.html · Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2013/07/16/6 · WEB
- https://code.google.com/p/phusion-passenger/issues/detail?id=910 · WEB
- https://github.com/phusion/passenger/blob/release-4.0.6/NEWS · WEB
- https://github.com/phusion/passenger/commit/5483b3292cc2af1c83033eaaadec20dba4dcfd9b · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2013-4136 · ADVISORY
- https://github.com/advisories/GHSA-w6rc-q387-vpgq · ADVISORY
- https://github.com/phusion/passenger · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/passenger/CVE-2013-4136.yml · WEB
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 30 Sep 2013)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)