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

High 7.8 Published Updated

A race condition in systemd allows attackers to set arbitrary permissions on files, potentially leading to privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2018-15687?

CVE-2018-15687 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 26 Oct 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-362

Which versions are affected by CVE-2018-15687?

It affects 2 products.

Products include Canonical Ubuntu Linux, Systemd Project Systemd.

How do I fix CVE-2018-15687?

Apply the vendor's patch.

Is CVE-2018-15687 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-15687 exists.

Public exploit code: 1 Exploit-DB entry.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-15687, GHSA-wxcv-623q-99fj, UBUNTU-CVE-2018-15687.

Is CVE-2018-15687 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free