Out-of-bounds Write Affecting ntp package, versions [0,4.2.8p10)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-UNMANAGED-NTP-2382735
  • published26 Jan 2022
  • disclosed27 Mar 2017
  • creditUnknown

Introduced: 27 Mar 2017

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

How to fix?

Upgrade ntp to version 4.2.8p10 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. 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.

References

CVSS Scores

version 3.1