Arbitrary File Write

Affecting passenger gem, versions <5.3.2

high severity

Overview

passenger is a modern web server and application server for Ruby, Python and Node.js, optimized for performance, low memory usage and ease of use.

Affected versions of this package are vulnerable to Arbitrary File Write. During the spawning of a malicious Passenger-managed application, SpawningKit allows such applications to replace key files or directories in the spawning communication directory with symlinks. This then could result in arbitrary reads and writes, which in turn can result in information disclosure and privilege escalation.

Remediation

Upgrade passenger to version 5.3.2 or higher.

References

Do your applications use this vulnerable package?

Credit
Unknown
CVE
CVE-2018-12026
CWE
CWE-626
Snyk ID
SNYK-RUBY-PASSENGER-22033
Disclosed
12 Jun, 2018
Published
20 Jun, 2018