Time and State Affecting ntp package, versions [,4.3.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
36.12% (98th 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-2382713
  • published26 Jan 2022
  • disclosed21 Jul 2017
  • creditUnknown

Introduced: 21 Jul 2017

CVE-2015-5300  (opens in a new tab)
CWE-361  (opens in a new tab)

How to fix?

Upgrade ntp to version 4.3.0 or higher.

Overview

Affected versions of this package are vulnerable to Time and State. The panic_gate check in NTP before 4.2.8p5 is only re-enabled after the first change to the system clock that was greater than 128 milliseconds by default, which allows remote attackers to set NTP to an arbitrary time when started with the -g option, or to alter the time by up to 900 seconds otherwise by responding to an unspecified number of requests from trusted sources, and leveraging a resulting denial of service (abort and restart).

References

CVSS Scores

version 3.1