UBUNTU-CVE-2018-12029

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2018-12029
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-12029.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-12029
Related
Published
2018-06-17T20:29:00Z
Modified
2018-06-17T20:29:00Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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 passengerinstanceregistry_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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / passenger

Package

Name
passenger
Purl
pkg:deb/ubuntu/passenger@5.0.27-2ubuntu0.1~esm1?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.0.27-2ubuntu0.1~esm1

Affected versions

5.*

5.0.7-3
5.0.22-1
5.0.22-1build1
5.0.22-1build2
5.0.27-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "ruby-passenger": "5.0.27-2ubuntu0.1~esm1",
            "libapache2-mod-passenger-dbgsym": "5.0.27-2ubuntu0.1~esm1",
            "passenger-dbgsym": "5.0.27-2ubuntu0.1~esm1",
            "libapache2-mod-passenger": "5.0.27-2ubuntu0.1~esm1",
            "passenger-doc": "5.0.27-2ubuntu0.1~esm1",
            "passenger": "5.0.27-2ubuntu0.1~esm1",
            "ruby-passenger-doc": "5.0.27-2ubuntu0.1~esm1"
        }
    ]
}

Ubuntu:18.04:LTS / passenger

Package

Name
passenger
Purl
pkg:deb/ubuntu/passenger@5.0.30-1+deb9u1build0.18.04.1?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.0.30-1+deb9u1build0.18.04.1

Affected versions

5.*

5.0.30-1
5.0.30-1build1
5.0.30-1build2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "ruby-passenger": "5.0.30-1+deb9u1build0.18.04.1",
            "libapache2-mod-passenger-dbgsym": "5.0.30-1+deb9u1build0.18.04.1",
            "passenger-dbgsym": "5.0.30-1+deb9u1build0.18.04.1",
            "libapache2-mod-passenger": "5.0.30-1+deb9u1build0.18.04.1",
            "passenger-doc": "5.0.30-1+deb9u1build0.18.04.1",
            "passenger": "5.0.30-1+deb9u1build0.18.04.1",
            "ruby-passenger-doc": "5.0.30-1+deb9u1build0.18.04.1"
        }
    ]
}

Ubuntu:20.04:LTS / passenger

Package

Name
passenger
Purl
pkg:deb/ubuntu/passenger@5.0.30-1.1?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.0.30-1.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "ruby-passenger": "5.0.30-1.1",
            "libapache2-mod-passenger-dbgsym": "5.0.30-1.1",
            "passenger-dbgsym": "5.0.30-1.1",
            "libapache2-mod-passenger": "5.0.30-1.1",
            "passenger-doc": "5.0.30-1.1",
            "passenger": "5.0.30-1.1",
            "ruby-passenger-doc": "5.0.30-1.1"
        }
    ]
}