LowGHSA-c7j7-p5jq-26ffCVE-2014-1831

Insecure use of temporary files in passenger

Published 10 Oct 2018 · Updated 8 Dec 2024

Is your project on an affected passenger?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

passengerRubyGems
Affected
<4.0.38
Fixed in
4.0.38
Update to the fixed version for your release line, for example:bundle update --conservative passenger # Gemfile: '>= 4.0.38'

Details

Phusion Passenger before 4.0.38 allows local users to write to certain files and directories via a symlink attack on 1. control_process.pid or 2. a generation-* file.

Is GHSA-c7j7-p5jq-26ff in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected passenger, and gives you the command that fixes it.

More advisories for passenger

  • MediumCVE-2025-26803Phusion Passenger denial of service · 24 Feb 2025
  • CriticalCVE-2018-12026Phusion Passenger SpawningKit Contains Arbitrary Read/Write Vulnerability · 14 May 2022
  • HighCVE-2018-12029Phusion Passenger Race Condition Allows Privilege Escalation · 14 May 2022
  • MediumCVE-2018-12615Phusion Passenger incorrect permission assignment · 13 May 2022
  • HighCVE-2018-12028Incorrect Access Control in Phusion Passenger · 13 May 2022
  • HighCVE-2018-12027Insecure Permissions in Phusion Passenger · 13 May 2022
All 14 advisories for passenger

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.