{"id":"CVE-2024-38528","aliases":["CVE-2024-38528","GHSA-2xpx-vcmq-5f72"],"related":[],"kind":"vulnerability","state":"published","title":"Unlimited number of NTS-KE connections can crash ntpd-rs server","summary":"nptd-rs is a tool for synchronizing your computer's clock, implementing the NTP and NTS protocols. There is a missing limit for accepted NTS-KE connections. This 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. This vulnerability has been patched in version 1.1.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"nptd-rs is a tool for synchronizing your computer's clock, implementing the NTP and NTS protocols. There is a missing limit for accepted NTS-KE connections. This 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. This vulnerability has been patched in version 1.1.3.","source":"cvelist"},{"lang":"en","text":"### Summary\nMissing 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.\n\n### Details\nOperating 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.\n\nA 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).\n\n### Impact\nOnly 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.\n\n### Workarounds\n- Disable NTS-KE server functionality\n- Increase system resource limits (`RLIMIT_NOFILE`) to make the attack more difficult\n- Lower the `key-exchange-timeout-ms` configuration setting to make the attack more difficult","format":"markdown","source":"ghsa"},{"lang":"es","text":"nptd-rs es una herramienta para sincronizar el reloj de tu ordenador, implementando los protocolos NTP y NTS. Falta un límite para las conexiones NTS-KE aceptadas. Esto permite que un atacante remoto no autenticado bloquee ntpd-rs cuando se configura un servidor NTS-KE. Las configuraciones de servidor que no son NTS-KE, como la configuración predeterminada de ntpd-rs, no se ven afectadas. Esta vulnerabilidad ha sido parcheada en la versión 1.1.3.","source":"nvd"}],"published":"2024-06-28T19:28:34.664Z","modified":"2026-09-10T03:50:14.793Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":">= 0.3.1, <= 1.1.2","status":"affected"}],"vendor":"pendulum-project","product":"ntpd-rs","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0.3.1","lastAffected":"1.1.2","status":"affected"}],"vendor":"tweedegolf","product":"ntpd-rs","cpe":"cpe:2.3:a:tweedegolf:ntpd-rs:0.3.1:*:*:*:*:rust:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.3.1","status":"affected","fixed":"1.1.3"}],"ecosystem":"crates.io","package":"ntpd","purl":"pkg:cargo/ntpd","source":"ghsa"}],"references":[{"url":"https://github.com/pendulum-project/ntpd-rs/security/advisories/GHSA-2xpx-vcmq-5f72","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38528","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pendulum-project/ntpd-rs/commit/6049687006ea5b26eeac927964b5fcc80d7bde50","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pendulum-project/ntpd-rs","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-07-01T17:42:24.718Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-38528","url":"https://www.cve.org/CVERecord?id=CVE-2024-38528","licence":"CVE Terms of Use","modified":"2024-08-02T04:12:25.343Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2xpx-vcmq-5f72","url":"https://github.com/advisories/GHSA-2xpx-vcmq-5f72","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:14.793Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-38528","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38528","licence":"Public domain","modified":"2026-06-17T07:40:28.600Z"}],"updatedAt":"2026-11-25T22:58:42.325Z","epss":{"score":0.01148,"percentile":0.66626,"date":"2026-11-30T12:00:22.000Z"}}