CVE-2025-58066
Rust vulnerability analysis and mitigation

Overview

CVE-2025-58066 affects ntpd-rs, a tool for synchronizing computer clocks that implements NTP and NTS protocols. The vulnerability was discovered in versions between 1.2.0 and 1.6.1 inclusive, specifically affecting servers that allow non-NTS traffic. The issue was disclosed on August 29, 2025, and was reported by Eric Sesterhenn from X41 D-Sec GmbH (GitHub Advisory).

Technical details

The vulnerability stems from an implementation flaw where ntpd-rs servers incorrectly respond to all NTP messages sent to the server's port with a time reply, including responses from other servers. This behavior has been present since version 1.2.0. The vulnerability has been assigned a CVSS v3.1 base score of 5.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, indicating network accessibility, low attack complexity, and no required privileges or user interaction (GitHub Advisory).

Impact

The vulnerability can lead to a denial of service condition where an attacker can induce a message storm between two NTP servers running ntpd-rs. By using spoofed IP addresses, an attacker can cause two servers to continually respond to each other, consuming significant amounts of resources. Client-only configurations are not affected by this vulnerability (GitHub Advisory).

Mitigation and workarounds

The primary mitigation is to upgrade to version 1.6.2. For cases where immediate upgrading is not possible, several workarounds are available: whitelisting access to only client IP addresses 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, or disabling the server functionality by removing any [server] sections from the configuration (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management