Insecure Randomness Affecting ntp package, versions [,4.2.8p2)[4.3.0,4.3.12)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.87% (83rd 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 Learn

Learn about Insecure Randomness vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-NTP-2382764
  • published26 Jan 2022
  • disclosed9 Aug 2017
  • creditUnknown

Introduced: 9 Aug 2017

CVE-2015-3405  (opens in a new tab)
CWE-331  (opens in a new tab)

How to fix?

Upgrade ntp to version 4.2.8p2, 4.3.12 or higher.

Overview

Affected versions of this package are vulnerable to Insecure Randomness ntp-keygen in ntp 4.2.8px before 4.2.8p2-RC2 and 4.3.x before 4.3.12 does not generate MD5 keys with sufficient entropy on big endian machines when the lowest order byte of the temp variable is between 0x20 and 0x7f and not #, which might allow remote attackers to obtain the value of generated MD5 keys via a brute force attack with the 93 possible keys.

References

CVSS Scores

version 3.1