cve.bz

CVE-2020-13817 Use of Insufficiently Random Values

7.4 highEPSS 3.4%Fix available

High (7.4). EPSS 3.4% estimated probability of exploitation activity in the next 30 days.

On this page
ntpd in ntp before 4.2.8p14 and 4.3.x before 4.3.100 allows remote attackers to cause a denial of service (daemon exit or system time change) by predicting transmit timestamps for use in spoofed packets. The victim must be relying on unauthenticated IPv4 time sources. There must be an off-path attacker who can query time from the victim's ntpd instance.

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS
3.4% (unchanged from 3.4% a week ago; 3.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-330 Use of Insufficiently Random Values
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-13817 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-13817?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-13817?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-13817 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ntp:ntpbefore 4.2.8
ntp:ntpfrom 4.3.0 before 4.3.100
ntp:ntp4.2.8
ntp:ntp4.2.8:p1
ntp:ntp4.2.8:p1-beta1
ntp:ntp4.2.8:p1-beta2
ntp:ntp4.2.8:p1-beta3
ntp:ntp4.2.8:p1-beta4
ntp:ntp4.2.8:p1-beta5
ntp:ntp4.2.8:p1-rc1
ntp:ntp4.2.8:p1-rc2
ntp:ntp4.2.8:p10
ntp:ntp4.2.8:p11
ntp:ntp4.2.8:p12
ntp:ntp4.2.8:p13
ntp:ntp4.2.8:p2
ntp:ntp4.2.8:p2-rc1
ntp:ntp4.2.8:p2-rc2
ntp:ntp4.2.8:p2-rc3
ntp:ntp4.2.8:p3
ntp:ntp4.2.8:p3-rc1
ntp:ntp4.2.8:p3-rc2
ntp:ntp4.2.8:p3-rc3
ntp:ntp4.2.8:p4
ntp:ntp4.2.8:p5
ntp:ntp4.2.8:p6
ntp:ntp4.2.8:p7
ntp:ntp4.2.8:p8
ntp:ntp4.2.8:p9
opensuse:leap15.1
opensuse:leap15.2
fujitsu:m10-1_firmwarebefore xcp2410
fujitsu:m10-4_firmwarebefore xcp2410
fujitsu:m10-4s_firmwarebefore xcp2410
fujitsu:m12-1_firmwarebefore xcp2410
fujitsu:m12-2_firmwarebefore xcp2410
fujitsu:m12-2s_firmwarebefore xcp2410
fujitsu:m10-4_firmwarebefore xcp3110
fujitsu:m10-4s_firmwarebefore xcp3110
fujitsu:m12-1_firmwarebefore xcp3110
fujitsu:m12-2_firmwarebefore xcp3110
fujitsu:m12-2s_firmwarebefore xcp3110

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11ntp1:4.2.8p14+dfsg-1DEBIAN-CVE-2020-13817
Ubuntu16.04:LTS, 22.04:LTS, Pro:14.04:LTS and 2 morentpno fix listedUBUNTU-CVE-2020-13817
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morentp, sntp, ntp-doc and 3 more0:4.2.6p5-29.el7_8.2RHSA-2020:2663
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 12 morentp4.2.8p15-88.1SUSE-SU-2020:1805-1
SUSELinux Enterprise Module for Legacy 15 SP1, Linux Enterprise Module for Legacy 15 SP2, Linux Enterprise Server 15-LTSS and 1 morentp4.2.8p15-4.10.1SUSE-SU-2020:1823-1
SUSELinux Enterprise Server 11 SP4-LTSSntp4.2.8p15-64.16.1SUSE-SU-2020:14415-1
openSUSELeap 15.1ntp4.2.8p15-lp151.2.3.1openSUSE-SU-2020:0934-1
openSUSELeap 15.2ntp4.2.8p15-lp152.3.3.1openSUSE-SU-2020:1007-1
openSUSETumbleweedntp4.2.8p15-7.2openSUSE-SU-2024:11102-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

All versions of ntp package shipped with Red Hat Enterprise Linux are affected by this flaw. However several mitigations exists, please refer to the mitigation section for more details.

Red Hat's mitigation

1. Have enough trustworthy sources of time.

2. If you are serving time to a possibly hostile network, have your system get its time from other than unauthenticated IPv4 over the hostile network.

3. Use NTP packet authentication where appropriate.

4. Pay attention to error messages logged by ntpd.

5. Monitor your ntpd instances. If the pstats command of ntpq shows the value for "bogus origin" is increasing then that association is likely under attack.

6. If you must get unauthenticated time over IPv4 on a hostile network, Use restrict ... noserve to prevent this attack (note that this is a heavy-handed protection), which blocks time service to the specified network.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7ntp-0:4.2.6p5-29.el7_8.2Fixed 2020-06-23RHSA-2020:2663
Red Hat Enterprise Linux 5ntpOut of support scope
Red Hat Enterprise Linux 6ntpOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-13817.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-234-01Hitachi Energy AFF66x2023-08-22EnergyAFF660/665: <= 03.0.02none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-59 Session Credential Falsification through Prediction Likelihood: High · Severity: High
  • CAPEC-112 Brute Force Severity: High
  • CAPEC-485 Signature Spoofing by Key Recreation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON