Vulnerability · Published Aug 24, 2020 · Assigned by redhat

CVE-2020-14367

Medium 6.0

In plain English

A medium-severity security flaw in Chrony. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.0Medium
Exploit odds (30 days)0.5%top 57.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20chrony3.5.1-r0ALPINE-CVE-2020-14367
Alpine:v3.21chrony3.5.1-r0ALPINE-CVE-2020-14367
Alpine:v3.22chrony3.5.1-r0ALPINE-CVE-2020-14367
Alpine:v3.23chrony3.5.1-r0ALPINE-CVE-2020-14367
Alpine:v3.24chrony3.5.1-r0ALPINE-CVE-2020-14367
Debian:12chrony3.5.1-1DEBIAN-CVE-2020-14367
Debian:13chrony3.5.1-1DEBIAN-CVE-2020-14367
Debian:14chrony3.5.1-1DEBIAN-CVE-2020-14367

Affected products (as reported)

VendorProductVersions
n/a Chrony All chrony versions before 3.5.1

Weakness: CWE-59

References