CVE-2020-14367
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | chrony | Fixed | 3.5-6ubuntu6.2 | UBUNTU-CVE-2020-14367 |
| Ubuntu 18.04 | chrony | Fixed | 3.2-4ubuntu4.5 | UBUNTU-CVE-2020-14367 |
| Ubuntu 16.04 | chrony | Fix pending | UBUNTU-CVE-2020-14367 | |
| Ubuntu 14.04 | chrony | Fix pending | UBUNTU-CVE-2020-14367 | |
| Debian 14 | chrony | Fixed | 3.5.1-1 | DEBIAN-CVE-2020-14367 |
| Debian 13 | chrony | Fixed | 3.5.1-1 | DEBIAN-CVE-2020-14367 |
| Debian 12 | chrony | Fixed | 3.5.1-1 | DEBIAN-CVE-2020-14367 |
| Red Hat Enterprise Linux 8 | chrony | Not affected | ||
| Red Hat Enterprise Linux 7 | chrony | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | chrony | Will not fix Out of support scope | ||
| Alpine Linux 3.24 | chrony | Fixed | 3.5.1-r0 | ALPINE-CVE-2020-14367 |
| Alpine Linux 3.23 | chrony | Fixed | 3.5.1-r0 | ALPINE-CVE-2020-14367 |
| Alpine Linux 3.22 | chrony | Fixed | 3.5.1-r0 | ALPINE-CVE-2020-14367 |
| Alpine Linux 3.21 | chrony | Fixed | 3.5.1-r0 | ALPINE-CVE-2020-14367 |
| Alpine Linux 3.20 | chrony | Fixed | 3.5.1-r0 | ALPINE-CVE-2020-14367 |
| Alpine Linux 3.19 | chrony | Fixed | 3.5.1-r0 | ALPINE-CVE-2020-14367 |
| Alpine Linux 3.18 | chrony | Fixed | 3.5.1-r0 | ALPINE-CVE-2020-14367 |
| Alpine Linux 3.17 | chrony | Fixed | 3.5.1-r0 | ALPINE-CVE-2020-14367 |
| Alpine Linux 3.16 | chrony | Fixed | 3.5.1-r0 | ALPINE-CVE-2020-14367 |
| Alpine Linux 3.15 | chrony | Fixed | 3.5.1-r0 | ALPINE-CVE-2020-14367 |
| Alpine Linux 3.14 | chrony | Fixed | 3.5.1-r0 | ALPINE-CVE-2020-14367 |
| Alpine Linux 3.13 | chrony | Fixed | 3.5.1-r0 | ALPINE-CVE-2020-14367 |
| Alpine Linux 3.12 | chrony | Fixed | 3.5.1-r0 | ALPINE-CVE-2020-14367 |
| Alpine Linux 3.11 | chrony | Fixed | 3.5.1-r0 | ALPINE-CVE-2020-14367 |
| Alpine Linux 3.10 | chrony | Fixed | 3.5.1-r0 | ALPINE-CVE-2020-14367 |
| Alpine Linux 3.9 | chrony | Fixed | 3.4-r2 | ALPINE-CVE-2020-14367 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Chrony: affected: All chrony versions before 3.5.1
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202008-23 (vendor-advisory)
- https://usn.ubuntu.com/4475-1/ (vendor-advisory)
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6WKABKNLCSC3MACCWU6OM2YGWVWFWFMU/
- https://bugzilla.redhat.com/show_bug.cgi?id=1870298
- https://security.gentoo.org/glsa/202008-23
- https://usn.ubuntu.com/4475-1/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.