ubuntu-cve-2018-16888
Vulnerability from osv_ubuntu
Published
2019-01-14 22:29
Modified
2026-04-22 07:38
Summary
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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libnss-myhostname",
            "binary_version": "229-4ubuntu21.27"
          },
          {
            "binary_name": "libnss-mymachines",
            "binary_version": "229-4ubuntu21.27"
          },
          {
            "binary_name": "libnss-resolve",
            "binary_version": "229-4ubuntu21.27"
          },
          {
            "binary_name": "libpam-systemd",
            "binary_version": "229-4ubuntu21.27"
          },
          {
            "binary_name": "libsystemd0",
            "binary_version": "229-4ubuntu21.27"
          },
          {
            "binary_name": "libudev1",
            "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-coredump",
            "binary_version": "229-4ubuntu21.27"
          },
          {
            "binary_name": "systemd-journal-remote",
            "binary_version": "229-4ubuntu21.27"
          },
          {
            "binary_name": "systemd-sysv",
            "binary_version": "229-4ubuntu21.27"
          },
          {
            "binary_name": "udev",
            "binary_version": "229-4ubuntu21.27"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "systemd",
        "purl": "pkg:deb/ubuntu/systemd@229-4ubuntu21.27?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "229-4ubuntu21.27"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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.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"
      ]
    }
  ],
  "aliases": [],
  "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.",
  "id": "UBUNTU-CVE-2018-16888",
  "modified": "2026-04-22T07:38:44Z",
  "published": "2019-01-14T22:29:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2018-16888"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-4269-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2018-16888"
    }
  ],
  "related": [
    "USN-4269-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "low",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2018-16888"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…