Link Following Affecting chrony-debuginfo package, versions <0:3.2-1.27.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN201803-CHRONYDEBUGINFO-1724991
  • published27 Sept 2021
  • disclosed24 Aug 2020

Introduced: 24 Aug 2020

CVE-2020-14367  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 chrony-debuginfo to version 0:3.2-1.27.amzn1 or higher.
This issue was patched in ALAS-2020-1431.

NVD Description

Note: Versions mentioned in the description apply only to the upstream chrony-debuginfo package and not the chrony-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

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.

CVSS Scores

version 3.1