{"schema_version":"1.7.3","id":"GHSA-w6rc-q387-vpgq","published":"2017-10-24T18:33:37Z","modified":"2024-12-05T05:36:49.756916Z","aliases":["CVE-2013-4136"],"summary":"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":[{"package":{"name":"passenger","ecosystem":"RubyGems","purl":"pkg:gem/passenger"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.6"}]}],"versions":["1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.2","2.1.3","2.2.0","2.2.1","2.2.10","2.2.11","2.2.12","2.2.13","2.2.14","2.2.15","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8","2.2.9","3.0.0","3.0.0.pre1","3.0.0.pre2","3.0.0.pre3","3.0.0.pre4","3.0.1","3.0.10","3.0.11","3.0.12","3.0.13","3.0.14","3.0.15","3.0.17","3.0.18","3.0.19","3.0.2","3.0.21","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.9.1.beta","3.9.2.beta","4.0.0.rc4","4.0.0.rc6","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-w6rc-q387-vpgq/GHSA-w6rc-q387-vpgq.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4136"},{"type":"WEB","url":"https://github.com/phusion/passenger/commit/5483b3292cc2af1c83033eaaadec20dba4dcfd9b"},{"type":"WEB","url":"https://code.google.com/p/phusion-passenger/issues/detail?id=910"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w6rc-q387-vpgq"},{"type":"PACKAGE","url":"https://github.com/phusion/passenger"},{"type":"WEB","url":"https://github.com/phusion/passenger/blob/release-4.0.6/NEWS"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/passenger/CVE-2013-4136.yml"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2013-1136.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/07/16/6"}],"database_specific":{"cwe_ids":["CWE-59"],"github_reviewed":true,"github_reviewed_at":"2020-06-16T20:49:27Z","nvd_published_at":null,"severity":"MODERATE"}}