Advisory

UBUNTU-CVE-2018-12029

Also known as: CVE-2018-12029

Summary

The record has no summary.

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.

Severity

High Basis: CVSS v3 score 7, vector CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2018-06-17 20:29 UTC
Modified
2026-02-04 04:10 UTC

Affected packages and fixes

passenger

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 5.0.30-1+deb9u1build0.18.04.1 (ecosystem)

Fixed versions

5.0.30-1+deb9u1build0.18.04.1

Fix

  • Fixed version 5.0.30-1+deb9u1build0.18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences