{"id":"GHSA-qwhm-h7v3-mrjx","revision":"25b360c66c9e47368a75c74e427c814d","records":[{"revision":"25b360c66c9e47368a75c74e427c814d","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-qwhm-h7v3-mrjx","aliases":["CVE-2023-33192"],"title":"Improper handling of NTS cookie length that could crash the ntpd-rs server","description":"### Impact\nntpd-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.\n\nntpd-rs running purely as an ntp client is not affected.\n\n### Patches\nThe 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\n\n### Workarounds\nntpd-rs running purely as an ntp client is not affected. By default, ntpd-rs packages are not configured to run as a server.\n\nFor machines where serving the time is required, there is no known workaround. Users are recommended to upgrade ntpd-rs as soon as possible.\n\n### References\nhttps://github.com/pendulum-project/ntpd-rs/pull/752\n\nWe would like to thank @mlichvar for identifying this issue\n","state":0,"publishedAt":"2023-05-25T17:01:12+00:00","modifiedAt":"2026-09-10T03:50:08.2699188+00:00","affected":[{"ecosystem":"crates.io","name":"ntpd","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.3.0"},{"kind":"fixed","version":"0.3.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/pendulum-project/ntpd-rs/security/advisories/GHSA-qwhm-h7v3-mrjx","https://nvd.nist.gov/vuln/detail/CVE-2023-33192","https://github.com/pendulum-project/ntpd-rs/pull/752","https://github.com/pendulum-project/ntpd-rs","https://github.com/pendulum-project/ntpd-rs/releases/tag/v0.3.3"],"sourceUrl":"https://github.com/advisories/GHSA-qwhm-h7v3-mrjx","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-qwhm-h7v3-mrjx","identifiers":["GHSA-qwhm-h7v3-mrjx","CVE-2023-33192"]},"retained":false,"historicalAffected":[]}],"coverage":[]}