# CVE-2023-33192: Improper handling of NTS cookie length that could crash the ntpd-rs server

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2023-05-25T17:01:12.000Z
- Modified: 2026-09-10T03:50:08.269Z
- Also known as: GHSA-qwhm-h7v3-mrjx
- Weaknesses: CWE-130
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- pendulum-project ntpd-rs: >= 0.3.0, < 0.3.3
- ntpd (crates.io): from 0.3.0 before 0.3.3
- tweedegolf ntpd-rs: from 0.3.0 before 0.3.3

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/pendulum-project/ntpd-rs/security/advisories/GHSA-qwhm-h7v3-mrjx> (mitigation, vendor-advisory, web)
- <https://github.com/pendulum-project/ntpd-rs/pull/752> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-33192> (advisory)
- <https://github.com/pendulum-project/ntpd-rs> (package)
- <https://github.com/pendulum-project/ntpd-rs/releases/tag/v0.3.3> (web)

## Sources

- CVE List: [CVE-2023-33192](https://www.cve.org/CVERecord?id=CVE-2023-33192), CVE Terms of Use, modified 2025-01-14
- GitHub Advisory Database: [GHSA-qwhm-h7v3-mrjx](https://github.com/advisories/GHSA-qwhm-h7v3-mrjx), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-33192](https://nvd.nist.gov/vuln/detail/CVE-2023-33192), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-33192 · Whole record: https://cve.day/CVE-2023-33192.json · Rebuilt by cve.day 2026-11-25T22:58:24.416Z
