CVE-2025-58066: Ntpd rs Denial of Service Vulnerability
MODERATECVE-2025-58066 is a MODERATE (CVSS 5.3) denial of service vulnerability (CWE-406: Insufficient Control of Network Message Volume (Network Amplification)) affecting Ntpd rs libraries in the crates.io ecosystem. The issue involves dos vulnerability in ntpd-rs. Remediation is available by upgrading affected packages to version 1.6.2.
CVE-2025-58066 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2025-58066
To remediate this vulnerability, upgrade all affected Ntpd rs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade ntpd-rs to 1.6.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for ntpd-rs
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-58066, inspect your project dependencies for Ntpd rs:
inspect dependencies for ntpd-rs
Analyze the terminal output to locate any version of Ntpd rs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-406: Insufficient Control of Network Message Volume (Network Amplification), where the product does not sufficiently monitor or control transmitted network traffic volume, so that an actor can cause the product to transmit more traffic than should be allowed for that actor. In Ntpd rs, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-58066 Affected Ntpd rs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ntpd-rs
|
crates.io |
≥ 1.2.0
< 1.6.2
|
1.6.2
|
References
Frequently Asked Questions
What is CVE-2025-58066?
Which Ntpd rs versions are affected?
What version fixes CVE-2025-58066?
Is ntpd-rs affected?
What is the CVSS score of CVE-2025-58066?
What CWE is associated with CVE-2025-58066?
How can I check crates.io dependencies for CVE-2025-58066?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4855-q42w-5vr4",
"modified" : "2025-08-29T21:58:17Z",
"published" : "2025-08-29T20:07:27Z",
"aliases" : [ "CVE-2025-58066" ],
"summary" : "DoS Vulnerability in ntpd-rs",
"details" : "# Summary\n\nA denial of service vulnerability was discovered in ntpd-rs where an attacker can induce a message storm between two NTP servers running ntpd-rs.\n\n# Details\n\nSince 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.\n\n# Impact\n\nAny 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.\n\n# Workarounds\n\nShould upgrading not be possible, the impact of the issue can be mitigated by:\n - Whitelisting access to only IP addresses of clients using the server, using the ignore filter method.\n - Blocking incoming non-request traffic on the NTP server port using a firewall.\n - Disabling public access to the vulnerable NTP server\n - Disabling the server functionality by removing any [server] sections from the configuration.\n\n# Acknowledgements\n\nThe ntpd-rs authors thank Eric Sesterhenn from X41 D-Sec GmbH for finding and reporting this issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "ntpd-rs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.2.0"
}, {
"fixed" : "1.6.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pendulum-project/ntpd-rs/security/advisories/GHSA-4855-q42w-5vr4"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-58066"
}, {
"type" : "WEB",
"url" : "https://github.com/pendulum-project/ntpd-rs/commit/da37cf167736cbd4d7804b1ed7ceb572468298e0"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pendulum-project/ntpd-rs"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-406" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-08-29T20:07:27Z",
"nvd_published_at" : "2025-08-29T21:15:36Z"
}
}