GHSA-jjcj-fgfm-9g9r

    Dashboard / Vulnerabilities / GHSA-jjcj-fgfm-9g9r

    GHSA-jjcj-fgfm-9g9r

    Published: 14 May 2022Last Modified: 20 Feb 2024

    Summary: Phusion Passenger Race Condition Allows Privilege Escalation

    Details: A race condition in the nginx module in Phusion Passenger 3.x through 5.x before 5.3.2 allows local escalation of privileges when a non-standard passenger_instance_registry_dir with insufficiently strict permissions is configured. Replacing a file with a symlink after the file was created, but before it was chowned, leads to the target of the link being chowned via the path. Targeting sensitive files such as root's crontab file allows privilege escalation.

    Affected packages

    Package

    Name: passenger

    Purl: pkg:gem/passenger

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 3.0.0
    Fixed -5.3.2

    Affected versions

    3.0.0
    3.0.1
    3.0.10
    3.0.11
    3.0.12
    3.0.13
    3.0.14
    3.0.15
    3.0.17
    3.0.18
    3.0.19
    3.0.2
    3.0.21
    3.0.3
    3.0.4
    3.0.5
    3.0.6
    3.0.7
    3.0.8
    3.0.9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-jjcj-fgfm-9g9r | CVE-DB