MEDIUM
GHSA-w6rc-q387-vpgq
insecure temporary directory usage in passenger
Quick fix
GHSA-w6rc-q387-vpgq — passenger: upgrade to the fixed version with the command below.
bundle update passengerDetails
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/.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-4136[ADVISORY]
- https://github.com/phusion/passenger/commit/5483b3292cc2af1c83033eaaadec20dba4dcfd9b[WEB]
- https://code.google.com/p/phusion-passenger/issues/detail?id=910[WEB]
- https://github.com/advisories/GHSA-w6rc-q387-vpgq[ADVISORY]
- https://github.com/phusion/passenger[PACKAGE]
- https://github.com/phusion/passenger/blob/release-4.0.6/NEWS[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/passenger/CVE-2013-4136.yml[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-1136.html[WEB]
- http://www.openwall.com/lists/oss-security/2013/07/16/6[WEB]