All reports
Medium

ntp: ntp-keygen uses weak random number generator and seed when generating MD5 keys

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2014-9294

Probability of exploitation in the next 30 days: 12.98%

FIRST EPSS · 2026-11-21

Description

util/ntp-keygen.c in ntp-keygen in NTP before 4.2.7p230 uses a weak RNG seed, which makes it easier for remote attackers to defeat cryptographic protection mechanisms via a brute-force attack.

It was found that ntp-keygen used a weak method for generating MD5 keys. This could possibly allow an attacker to guess generated MD5 keys that could then be used to spoof an NTP client or server. Note: it is recommended to regenerate any MD5 keys that had explicitly been generated with ntp-keygen; the default installation does not contain such keys.