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.
References
Link | Resource |
---|---|
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6WKABKNLCSC3MACCWU6OM2YGWVWFWFMU/ | Mailing List Third Party Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1870298 | Issue Tracking Patch Vendor Advisory |
https://security.gentoo.org/glsa/202008-23 | Third Party Advisory |
https://usn.ubuntu.com/4475-1/ | Third Party Advisory |
Information
Published : 2020-08-24 08:15
Updated : 2022-12-06 12:50
NVD link : CVE-2020-14367
Mitre link : CVE-2020-14367
JSON object : View
CWE
CWE-59
Improper Link Resolution Before File Access ('Link Following')
Products Affected
canonical
- ubuntu_linux
tuxfamily
- chrony
fedoraproject
- fedora