SB20220201110 - Ubuntu update for passenger
Published: February 1, 2022 Updated: October 31, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 vulnerabilities.
1) UNIX symbolic link following (CVE-ID: CVE-2017-16355)
CWE-ID: CWE-61 - UNIX Symbolic Link (Symlink) Following
CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a local user to gain access to sensitive information.
The vulnerability exists due to a symlink following issue within the agent/Core/SpawningKit/Spawner.h file. A local user can create a specially crafted symbolic link from the REVISION file to an arbitrary file on the system and view contest of arbitrary file through "passenger-status --show=xml" command.
2) Race condition (CVE-ID: CVE-2018-12029)
CWE-ID: CWE-362 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
CVSSv4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a local attacker to gain elevated privileges.
The vulnerability exists due to a race condition that could occur when a non-standard passenger_instance_registry_dir setting n the Nginx moduleis configured with insufficient permissions. A local attacker can replace a file with a symbolic link after the file has been created before the file has changed ownershipto gain elevated privileges on the system if the target of the symbolic link is a file that can be executed as root, such as the crontab file.
Remediation
Install update from vendor's website.