Published: 24 August 2020

A flaw was found in chrony versions before 3.5.1 when creating the PID file under the /var/run/chrony folder. The file is created during chronyd startup while still running as the root user, and when it's opened for writing, chronyd does not check for an existing symbolic link with the same file name. This flaw allows an attacker with privileged access to create a symlink with the default PID file name pointing to any destination file in the system, resulting in data loss and a denial of service due to the path traversal.



CVSS 3 base score: 6.0


Package Release Status
Launchpad, Ubuntu, Debian
Released (3.5.1-1)
Ubuntu 21.10 (Impish Indri)
Released (3.5.1-1ubuntu1)
Ubuntu 21.04 (Hirsute Hippo)
Released (3.5.1-1ubuntu1)
Ubuntu 20.04 LTS (Focal Fossa)
Released (3.5-6ubuntu6.2)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (3.2-4ubuntu4.5)
Ubuntu 16.04 ESM (Xenial Xerus) Ignored
(end of standard support, was needs-triage)
Ubuntu 14.04 ESM (Trusty Tahr) Needs triage

Upstream: (4.0-pre1)
Upstream: (4.0-pre1)
Upstream: (3.5.1)