{"id":"CVE-2023-33192","published":"2023-05-27T03:53:34Z","modified":"2025-01-14T18:20:44Z","title":"Improper handling of NTS cookie length that could crash the ntpd-rs server","vendor":"pendulum-project","product":"ntpd-rs","tier":"tail","description":{"text":"ntpd-rs is an NTP implementation written in Rust. ntpd-rs does not validate the length of NTS cookies in received NTP packets to the server. An attacker can crash the server by sending a specially crafted NTP packet containing a cookie shorter than what the server expects. The server also crashes when it is not configured to handle NTS packets. The issue was caused by improper slice indexing. The indexing operations were replaced by safer alternatives that do not crash the ntpd-rs server process but instead properly handle the error condition. A patch was released in version 0.3.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00708,"percentile":0.54366,"provenance":"source"},"cwes":[{"id":"CWE-130","name":"Improper Handling of Length Parameter Inconsistency"}],"references":[{"url":"https://github.com/pendulum-project/ntpd-rs/security/advisories/GHSA-qwhm-h7v3-mrjx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pendulum-project/ntpd-rs/pull/752","tags":["x_refsource_MISC"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":10.87},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"pendulum-project","affectedVersions":[{"vendor":"pendulum-project","product":"ntpd-rs","versions":[">= 0.3.0, < 0.3.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-01-14T18:20:35.734868Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"ntpd","vulnerableRanges":[">=0.3.0, <0.3.3"],"patched":["0.3.3"],"from":["GHSA-qwhm-h7v3-mrjx"],"provenance":"source"}],"summary":{"text":"The ntpd-rs NTP server, an implementation written in Rust by the pendulum-project, fails to validate the length of NTS cookies in incoming NTP packets, due to improper slice indexing. A remote, unauthenticated attacker with network access can crash the server process by sending a specially crafted NTP packet containing a cookie shorter than expected, and the server also crashes when it is not configured to handle NTS packets.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:24:15Z"},"euvd":{"id":"EUVD-2023-1616","exploited":false,"provenance":"source"}}