CVE-2020-14367

Name
CVE-2020-14367
Description
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6WKABKNLCSC3MACCWU6OM2YGWVWFWFMU/
Issue Tracking https://bugzilla.redhat.com/show_bug.cgi?id=1870298
Third Party Advisory https://security.gentoo.org/glsa/202008-23
UBUNTU https://usn.ubuntu.com/4475-1/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:tuxfamily:chrony:*:*:*:*:*:*:*:* chrony >= None < 3.5.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
chrony 3.12-main 3.5.1-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
chrony 3.11-main 3.5.1-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
chrony 3.10-main 3.5.1-r0 Natanael Copa <ncopa@alpinelinux.org> fixed