Privilege Escalation Affecting passenger package, versions <5.1.0
Snyk CVSS
Attack Complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Threat Intelligence
EPSS
0.04% (6th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-PASSENGER-20371
- published 7 Jun 2017
- disclosed 1 Nov 2016
- credit Jeremy Evans
Introduced: 1 Nov 2016
CVE-2016-10345 Open this link in a new tabHow to fix?
Upgrade passenger
to version 5.1.0 or higher.
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 the package are vulnerable to Privilege Escalation, due to insecure tmp file names. If an attacker has access to the system, they could conduct a symlink attack in the /tmp
files and overwrite these files when the passenger-install-nginx-module
was run, resulting in the attacker gaining the privileges of the user running the task.