# CVE-2018-15687: libnss-myhostname: A race condition in chown_one() of systemd allows an attacker to cause systemd to set arbitrary permissions on arbitr...

CVE-2018-15687 is fixed in 14 products on 1 platform, first by libnss-myhostname 237-3ubuntu10.6, released October 25, 2018. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-15687
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0106
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 25, 2018

## Description

A race condition in chown_one() of systemd allows an attacker to cause systemd to set arbitrary permissions on arbitrary files. Affected releases are systemd versions up to and including 239.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libnss-myhostname Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.6 | [libnss-myhostname 237-3ubuntu10.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libnss-myhostname-237-3ubuntu10.6.md) | Oct 25, 2018 |
| Linux | libnss-mymachines Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.6 | [libnss-mymachines 237-3ubuntu10.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libnss-mymachines-237-3ubuntu10.6.md) | Oct 25, 2018 |
| Linux | libnss-resolve Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.6 | [libnss-resolve 237-3ubuntu10.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libnss-resolve-237-3ubuntu10.6.md) | Oct 25, 2018 |
| Linux | libnss-systemd Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.6 | [libnss-systemd 237-3ubuntu10.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libnss-systemd-237-3ubuntu10.6.md) | Oct 25, 2018 |
| Linux | libpam-systemd Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.6 | [libpam-systemd 237-3ubuntu10.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libpam-systemd-237-3ubuntu10.6.md) | Oct 25, 2018 |
| Linux | libsystemd0 Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.6 | [libsystemd0 237-3ubuntu10.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libsystemd0-237-3ubuntu10.6.md) | Oct 25, 2018 |
| Linux | libudev1 Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.6 | [libudev1 237-3ubuntu10.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libudev1-237-3ubuntu10.6.md) | Oct 25, 2018 |
| Linux | systemd Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.6 | [systemd 237-3ubuntu10.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-systemd-237-3ubuntu10.6.md) | Oct 25, 2018 |
| Linux | systemd-container Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.6 | [systemd-container 237-3ubuntu10.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-systemd-container-237-3ubuntu10.6.md) | Oct 25, 2018 |
| Linux | systemd-coredump Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.6 | [systemd-coredump 237-3ubuntu10.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-systemd-coredump-237-3ubuntu10.6.md) | Oct 25, 2018 |
| Linux | systemd-journal-remote Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.6 | [systemd-journal-remote 237-3ubuntu10.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-systemd-journal-remote-237-3ubuntu10.6.md) | Oct 25, 2018 |
| Linux | systemd-sysv Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.6 | [systemd-sysv 237-3ubuntu10.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-systemd-sysv-237-3ubuntu10.6.md) | Oct 25, 2018 |
| Linux | systemd-tests Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.6 | [systemd-tests 237-3ubuntu10.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-systemd-tests-237-3ubuntu10.6.md) | Oct 25, 2018 |
| Linux | udev Ubuntu 18.04.6 LTS (bionic) | 237-3ubuntu10.6 | [udev 237-3ubuntu10.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-udev-237-3ubuntu10.6.md) | Oct 25, 2018 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
