VDB
Sign up
MEDIUM

GHSA-9qj7-jvg4-qr2x

Phusion Passenger Denial of Service

Quick fix

GHSA-9qj7-jvg4-qr2x — passenger: upgrade to the fixed version with the command below.

bundle update passenger

Details

Phusion Passenger gem before 3.0.21 and 4.0.x before 4.0.5 for Ruby allows local users to cause a denial of service (prevent application start) or gain privileges by pre-creating a temporary "config" file in a directory with a predictable name in `/tmp/` before it is used by the gem.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/passenger
Introduced in: 0Fixed in: 3.0.21
Fixbundle update passenger
RubyGems/passenger
Introduced in: 4.0.1Fixed in: 4.0.5
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"]}'