phusion/passenger · Security
insecure temporary directory usage in passenger
- GHSA ID
- GHSA-w6rc-q387-vpgq
- CVE ID
- CVE-2013-4136
- Severity
- medium
- Published
- Updated
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/.
CWEs
- CWE-59 · Improper Link Resolution Before File Access ('Link Following')
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/blob/release-4.0.6/NEWS ↗
- http://rhn.redhat.com/errata/RHSA-2013-1136.html ↗
- http://www.openwall.com/lists/oss-security/2013/07/16/6 ↗
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/passenger/CVE-2013-4136.yml ↗