CVE-2020-14367

LOW

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.

References

https://bugzilla.redhat.com/show_bug.cgi?id=1870298

https://lists.fedoraproject.org/archives/list/[email protected]/message/6WKABKNLCSC3MACCWU6OM2YGWVWFWFMU/

https://security.gentoo.org/glsa/202008-23

https://usn.ubuntu.com/4475-1/

Details

Source: MITRE

Published: 2020-08-24

Updated: 2020-09-09

Type: CWE-59

Risk Information

CVSS v2.0

Base Score: 3.6

Vector: AV:L/AC:L/Au:N/C:N/I:P/A:P

Impact Score: 4.9

Exploitability Score: 3.9

Severity: LOW

CVSS v3.0

Base Score: 6

Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H

Impact Score: 5.2

Exploitability Score: 0.8

Severity: MEDIUM