ALAS-2020-1431

Related Vulnerabilities: CVE-2020-14367  

A flaw was found in chrony 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. (CVE-2020-14367)

ALAS-2020-1431


Amazon Linux AMI Security Advisory: ALAS-2020-1431
Advisory Release Date: 2020-09-03 22:01 Pacific
Advisory Updated Date: 2020-09-04 04:14 Pacific
Severity: Medium
References: CVE-2020-14367 

Issue Overview:

A flaw was found in chrony 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. (CVE-2020-14367)


Affected Packages:

chrony


Issue Correction:
Run yum update chrony to update your system.

New Packages:
i686:
    chrony-debuginfo-3.2-1.27.amzn1.i686
    chrony-3.2-1.27.amzn1.i686

src:
    chrony-3.2-1.27.amzn1.src

x86_64:
    chrony-debuginfo-3.2-1.27.amzn1.x86_64
    chrony-3.2-1.27.amzn1.x86_64