CVE-2025-58066
JSON

5.3medium

DoS Vulnerability in ntpd-rs

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.40% (higher than 36% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-4855-q42w-5vr4

Description

nptd-rs is a tool for synchronizing your computer's clock, implementing the NTP and NTS protocols. In versions between 1.2.0 and 1.6.1 inclusive servers which allow non-NTS traffic are affected by a denial of service vulnerability, where an attacker can induce a message storm between two NTP servers running ntpd-rs. Client-only configurations are not affected. Affected users are recommended to upgrade to version 1.6.2 as soon as possible.

Affected

Product or packageVersionsReported by
pendulum-project ntpd-rs>= 1.2.0, < 1.6.2CVE List
ntpd-rs (crates.io)from 1.2.0 before 1.6.2GitHub Advisory Database

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Classification

CWE-406

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

nptd-rs is a tool for synchronizing your computer's clock, implementing the NTP and NTS protocols. In versions between 1.2.0 and 1.6.1 inclusive servers which allow non-NTS traffic are affected by a denial of service vulnerability, where an attacker can induce a message storm between two NTP servers running ntpd-rs. Client-only configurations are not affected. Affected users are recommended to upgrade to version 1.6.2 as soon as possible.

GitHub Advisory Database

Summary

A denial of service vulnerability was discovered in ntpd-rs where an attacker can induce a message storm between two NTP servers running ntpd-rs.

Details

Since ntpd-rs version 1.2.0, when configured as a server, incorrectly responded to all NTP messages sent to the server's port with a time reply, including to responses from other servers. As a consequence, a message with a spoofed IP address of another server could cause two servers running ntpd-rs to continually respond to each other, consuming significant amounts of resources.

Impact

Any time server running ntpd-rs with version between 1.2.0 and 1.6.1 inclusive which allows non-NTS traffic is affected. Client-only configurations are not affected. Affected users are recommended to upgrade to version 1.6.2 as soon as possible.

Workarounds

Should upgrading not be possible, the impact of the issue can be mitigated by:

  • Whitelisting access to only IP addresses of clients using the server, using the ignore filter method.
  • Blocking incoming non-request traffic on the NTP server port using a firewall.
  • Disabling public access to the vulnerable NTP server
  • Disabling the server functionality by removing any [server] sections from the configuration.

Acknowledgements

The ntpd-rs authors thank Eric Sesterhenn from X41 D-Sec GmbH for finding and reporting this issue.

NVD (es)

nptd-rs es una herramienta para sincronizar el reloj de su ordenador, implementando los protocolos NTP y NTS. En las versiones entre la 1.2.0 y la 1.6.1 inclusive, los servidores que permiten tráfico no-NTS se ven afectados por una vulnerabilidad de denegación de servicio, donde un atacante puede inducir una tormenta de mensajes entre dos servidores NTP que ejecutan ntpd-rs. Las configuraciones solo de cliente no se ven afectadas. Se recomienda a los usuarios afectados actualizar a la versión 1.6.2 lo antes posible.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-58066 changed 2025-09-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-4855-q42w-5vr4 changed 2025-08-29CC-BY-4.0
NVDCVE-2025-58066 changed 2026-10-18Public domain