ntpd-rs
Affected
- introduced
1.2.0, fixed1.6.2(semver)
Fixed versions
1.6.2
Fix
- Fixed version
1.6.2cargo update -p ntpd-rs --precise 1.6.2
Advisory
Also known as: CVE-2025-58066
DoS Vulnerability in ntpd-rs
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:
Acknowledgements
The ntpd-rs authors thank Eric Sesterhenn from X41 D-Sec GmbH for finding and reporting this issue.
Medium Basis: The source's own band: MODERATE
1.2.0, fixed 1.6.2 (semver)1.6.2
1.6.2cargo update -p ntpd-rs --precise 1.6.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0