VDB
Sign up
HIGH7.8

GHSA-cqxw-3p7v-p9gr

Phusion Passenger uses a known /tmp filename

Quick fix

GHSA-cqxw-3p7v-p9gr — passenger: upgrade to the fixed version with the command below.

bundle update passenger

Details

In Phusion Passenger before 5.1.0, a known /tmp filename was used during passenger-install-nginx-module execution, which could allow local attackers to gain the privileges of the passenger user

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/passenger
Introduced in: 0Fixed in: 5.1.0
Fixbundle update passenger

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:gem/passenger"]}'