Out-of-bounds Write Affecting ntp-perl package, versions <0:4.2.6p5-44.34.amzn1


Severity

Recommended
medium

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-NTPPERL-1705888
  • published27 Sept 2021
  • disclosed27 Mar 2017

Introduced: 27 Mar 2017

CVE-2017-6451  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 ntp-perl to version 0:4.2.6p5-44.34.amzn1 or higher.
This issue was patched in ALAS-2017-816.

NVD Description

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

The mx4200_send function in the legacy MX4200 refclock in NTP before 4.2.8p10 and 4.3.x before 4.3.94 does not properly handle the return value of the snprintf function, which allows local users to execute arbitrary code via unspecified vectors, which trigger an out-of-bounds memory write.