Phusion Passenger Gem for Ruby Predictable Temporary Filename Generation Symlink Local Privilege Escalation

Metadata

medium
4.6
passenger
CVE-2013-2119
osvdb.org
2013-05-29
2017-06-16 19:03
CVE-2013-2119 ruby-passenger
CVE-2013-2119
2017-04-01 19:10
2017-01-05 20:15

Description

Phusion Passenger Gem for Ruby contains a flaw as the program creates temporary files insecurely. It is possible for a local attacker to use a symlink attack against the Nginx config file to cause the program to unexpectedly overwrite the file, allowing a local attacker to execute code with elevated privileges.

Am I vulnerable?

The constraints below list the versions that this vulnerability is patched in, and versions that are unaffected. If a patch is ready but unrealeased, then it is pending.

Or, you can just let us figure it out for you! Appcanary continously monitor your installed packages, and tell you if any of them are vulnerable.

Sign up for monitoring

Affected package information

Package Patched in Unaffected in
passenger ~> 3.0.21,>= 4.0.5 None