Name | CVE-2017-16355 |
Description | In agent/Core/SpawningKit/Spawner.h in Phusion Passenger 5.1.10 (fixed in Passenger Open Source 5.1.11 and Passenger Enterprise 5.1.10), if Passenger is running as root, it is possible to list the contents of arbitrary files on a system by symlinking a file named REVISION from the application root folder to a file of choice and querying passenger-status --show=xml. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-4415-1 |
Debian Bugs | 884463 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
passenger (PTS) | stretch (security), stretch (lts), stretch | 5.0.30-1+deb9u1 | fixed |
| buster | 5.0.30-1.1 | fixed |
| bullseye | 5.0.30-1.2+deb11u1 | fixed |
| bookworm | 6.0.17+ds-1 | fixed |
| sid, trixie | 6.0.20+ds-1 | fixed |
ruby-passenger (PTS) | jessie, jessie (lts) | 4.0.53-1+deb8u1 | vulnerable |
The information below is based on the following data on fixed versions.
Notes
[jessie] - ruby-passenger <no-dsa> (Minor issue)
[wheezy] - ruby-passenger <not-affected> (Vulnerable code introduced later)
https://blog.phusion.nl/2017/10/13/passenger-security-advisory-5-1-11/
https://github.com/phusion/passenger/commit/4043718264095cde6623c2cbe8c644541036d7bf
https://www.openwall.com/lists/oss-security/2017/11/21/2 and following.
Problem mitigated in versions prior to 5.0.10 where root privileges were required to
get the status information.