CVE-2017-16355

NameCVE-2017-16355
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-4415-1
Debian Bugs884463

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
passenger (PTS)stretch (security), stretch (lts), stretch5.0.30-1+deb9u1fixed
buster5.0.30-1.1fixed
bullseye5.0.30-1.2+deb11u1fixed
bookworm6.0.17+ds-1fixed
sid, trixie6.0.20+ds-1fixed
ruby-passenger (PTS)jessie, jessie (lts)4.0.53-1+deb8u1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
passengersourcestretch5.0.30-1+deb9u1DSA-4415-1
passengersource(unstable)5.0.30-1.1884463
ruby-passengersourcewheezy(not affected)
ruby-passengersource(unstable)(unfixed)

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.

Search for package or bug name: Reporting problems