Amazon Linux 2 Security Advisory: ALAS-2021-1575
Advisory Release Date: 2021-01-05 23:34 Pacific
Advisory Updated Date: 2021-01-07 17:00 Pacific
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
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update chrony to update your system.
aarch64:
chrony-3.5.1-1.amzn2.0.1.aarch64
chrony-debuginfo-3.5.1-1.amzn2.0.1.aarch64
i686:
chrony-3.5.1-1.amzn2.0.1.i686
chrony-debuginfo-3.5.1-1.amzn2.0.1.i686
src:
chrony-3.5.1-1.amzn2.0.1.src
x86_64:
chrony-3.5.1-1.amzn2.0.1.x86_64
chrony-debuginfo-3.5.1-1.amzn2.0.1.x86_64