CVE-2018-15687: systemd: chown_one() can dereference symlinks

Published Oct 26, 2018
·
Updated

A race condition in chownone() 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.

Affected Software

5 affected componentsFixes available
debian/systemd
247.3-7+deb11u5247.3-7+deb11u6252.30-1~deb12u2256.6-1256.7-1
Ubuntu=16.04
Ubuntu=18.04
Ubuntu=18.10
Systemd Project Systemd>=235<240

Event History

Oct 26, 2018
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:52 PM
Description
Sep 14, 2024
Data Sourced
via Ubuntu·06:33 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2018-15687?

CVE-2018-15687 is a race condition vulnerability in chown_one() of systemd that allows an attacker to set arbitrary permissions on arbitrary files.

2

Which versions of systemd are affected by CVE-2018-15687?

Affected releases are systemd versions up to and including 239.

3

What is the severity of CVE-2018-15687?

CVE-2018-15687 has a severity rating of high.

4

How can I fix CVE-2018-15687 in Ubuntu 16.04 LTS?

To fix CVE-2018-15687 in Ubuntu 16.04 LTS, update the systemd package to version 229-4ubuntu21.8 or higher.

5

Where can I find more information about CVE-2018-15687?

More information about CVE-2018-15687 can be found at the following references: [CVE-2018-15687](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-15687), [Ubuntu Security Notice USN-3816-1](https://ubuntu.com/security/notices/USN-3816-1), [NVD CVE-2018-15687](https://nvd.nist.gov/vuln/detail/CVE-2018-15687).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203