GitHub Advisory Database
GHSA-w6rc-q387-vpgq
insecure temporary directory usage in passenger
Details
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/.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | passenger | All versions before 4.0.6 (fixed in 4.0.6) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-4136
- https://github.com/phusion/passenger/commit/5483b3292cc2af1c83033eaaadec20dba4dcfd9b
- https://code.google.com/p/phusion-passenger/issues/detail?id=910
- https://github.com/advisories/GHSA-w6rc-q387-vpgq
- https://github.com/phusion/passenger
- https://github.com/phusion/passenger/blob/release-4.0.6/NEWS
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/passenger/CVE-2013-4136.yml
- http://rhn.redhat.com/errata/RHSA-2013-1136.html
- http://www.openwall.com/lists/oss-security/2013/07/16/6