Loading...
Skip to main content

CVE-2024-38528 — Vulnerability in ntpd — CVE Details

HIGH

Unlimited number of NTS-KE connections can crash ntpd-rs server

Published June 28, 2024Updated September 10, 2026Source: osv

Summary

### Summary Missing limit for accepted NTS-KE connections allows an unauthenticated remote attacker to crash ntpd-rs when an NTS-KE server is configured. Non NTS-KE server configurations, such as the default ntpd-rs configuration, are unaffected. ### Details Operating systems have a limit for the number of open file descriptors (which includes sockets) in a single process, e.g. 1024 on Linux by default. When ntpd-rs is configured as an NTS server, it accepts TCP connections for the NTS-KE service. If the process has reached the descriptor limit and tries to accept a new TCP connection, the accept() system call will return with the EMFILE error and cause ntpd-rs to abort. A remote attacker can open a large number of parallel TCP connections to the server to trigger this crash. The connections need to be opened quickly enough to avoid the `key-exchange-timeout-ms` timeout (by default 1000 milliseconds). ### Impact Only NTS-KE server configuration are affected. Those without an NTS-KE server configuration such as NTS client only or NTP only configuration are unaffected. For affected configurations the ntpd-rs daemon can made completely unavailable by crashing the service. If ntpd-rs is automatically restarted, an attacker can repeat the attack to prevent ntpd-rs from doing anything useful. ### Workarounds - Disable NTS-KE server functionality - Increase system resource limits (`RLIMIT_NOFILE`) to make the attack more difficult - Lower the `key-exchange-timeout-ms` configuration setting to make the attack more difficult

Advisory Timeline

  • First published June 28, 2024 (836 days ago).
  • Last revised September 10, 2026 — 803 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update ntpd to 1.1.3 or later
cargo update -p ntpd --precise 1.1.3

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: crates.io (1).

PackageEcosystemAffectedFixed In
ntpd
crates.io
All versions1.1.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-770
    Allocation of Resources Without LimitsMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Frequently Asked Questions

What is CVE-2024-38528?
Unlimited number of NTS-KE connections can crash ntpd-rs server This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2024-38528?
CVE-2024-38528 affects ntpd. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-38528 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-2xpx-vcmq-5f72

Related CVEs

  • CVE-2026-93657
    HIGH

    hickory-resolver: Resolver::lookup() and Resolver::lookup_ip() APIs obscure DNSSEC validation failures

  • CVE-2026-18140
    HIGH

    aws-smithy-json: Uncontrolled recursion in the aws-smithy-json unknown-key skip path allows unauthenticated remote denial of service in smithy-rs generated servers

  • CVE-2023-33192
    HIGH

    Improper handling of NTS cookie length that could crash the ntpd-rs server

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies