UBUNTU-CVE-2018-16888

Source
https://ubuntu.com/security/CVE-2018-16888
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-16888.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-16888
Related
Published
2019-01-14T22:29:00Z
Modified
2019-01-14T22:29:00Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 4.7 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

It was discovered systemd does not correctly check the content of PIDFile files before using it to kill processes. When a service is run from an unprivileged user (e.g. User field set in the service file), a local attacker who is able to write to the PIDFile of the mentioned service may use this flaw to trick systemd into killing other services and/or privileged processes. Versions before v237 are vulnerable.

References

Affected packages

Ubuntu:16.04:LTS / systemd

Package

Name
systemd
Purl
pkg:deb/ubuntu/systemd?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
229-4ubuntu21.27

Affected versions

Other

225-1ubuntu9
227-2ubuntu1
227-2ubuntu2
228-1ubuntu2
228-2ubuntu1
228-2ubuntu2
228-3ubuntu1
228-4ubuntu1
228-4ubuntu2
228-5ubuntu1
228-5ubuntu2
228-5ubuntu3
228-6ubuntu1
229-1ubuntu2
229-1ubuntu4
229-2ubuntu1
229-3ubuntu1
229-3ubuntu2
229-4ubuntu1
229-4ubuntu4
229-4ubuntu5
229-4ubuntu6
229-4ubuntu7
229-4ubuntu8
229-4ubuntu10
229-4ubuntu11
229-4ubuntu12
229-4ubuntu13
229-4ubuntu16
229-4ubuntu17
229-4ubuntu19
229-4ubuntu20
229-4ubuntu21

229-4ubuntu21.*

229-4ubuntu21.1
229-4ubuntu21.2
229-4ubuntu21.3
229-4ubuntu21.4
229-4ubuntu21.5
229-4ubuntu21.6
229-4ubuntu21.8
229-4ubuntu21.9
229-4ubuntu21.10
229-4ubuntu21.15
229-4ubuntu21.16
229-4ubuntu21.17
229-4ubuntu21.19
229-4ubuntu21.21
229-4ubuntu21.22
229-4ubuntu21.23

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libnss-myhostname"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libnss-myhostname-dbgsym"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libnss-mymachines"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libnss-mymachines-dbgsym"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libnss-resolve"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libnss-resolve-dbgsym"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libpam-systemd"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libpam-systemd-dbgsym"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libsystemd-dev"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libsystemd-dev-dbgsym"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libsystemd0"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libsystemd0-dbgsym"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libudev-dev"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libudev-dev-dbgsym"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libudev1"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libudev1-dbgsym"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libudev1-udeb"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "libudev1-udeb-dbgsym"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "systemd"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "systemd-container"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "systemd-container-dbgsym"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "systemd-coredump"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "systemd-coredump-dbgsym"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "systemd-dbg"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "systemd-dbgsym"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "systemd-journal-remote"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "systemd-journal-remote-dbgsym"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "systemd-sysv"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "systemd-sysv-dbgsym"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "udev"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "udev-dbgsym"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "udev-udeb"
        },
        {
            "binary_version": "229-4ubuntu21.27",
            "binary_name": "udev-udeb-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / systemd

Package

Name
systemd
Purl
pkg:deb/ubuntu/systemd?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
237-3ubuntu10.9

Affected versions

Other

234-2ubuntu12
235-2ubuntu3
235-3ubuntu2
235-3ubuntu3
237-3ubuntu3
237-3ubuntu4
237-3ubuntu6
237-3ubuntu7
237-3ubuntu8
237-3ubuntu10

237-3ubuntu10.*

237-3ubuntu10.2
237-3ubuntu10.3
237-3ubuntu10.4
237-3ubuntu10.6

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "libnss-myhostname"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "libnss-myhostname-dbgsym"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "libnss-mymachines"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "libnss-mymachines-dbgsym"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "libnss-resolve"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "libnss-resolve-dbgsym"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "libnss-systemd"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "libnss-systemd-dbgsym"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "libpam-systemd"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "libpam-systemd-dbgsym"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "libsystemd-dev"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "libsystemd0"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "libsystemd0-dbgsym"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "libudev-dev"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "libudev1"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "libudev1-dbgsym"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "libudev1-udeb"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "systemd"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "systemd-container"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "systemd-container-dbgsym"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "systemd-coredump"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "systemd-coredump-dbgsym"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "systemd-dbgsym"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "systemd-journal-remote"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "systemd-journal-remote-dbgsym"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "systemd-sysv"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "systemd-tests"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "systemd-tests-dbgsym"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "udev"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "udev-dbgsym"
        },
        {
            "binary_version": "237-3ubuntu10.9",
            "binary_name": "udev-udeb"
        }
    ]
}