CVE-2023-33192 json
Improper handling of NTS cookie length that could crash the ntpd-rs server
published 3y ago modified 2mo ago also GHSA-qwhm-h7v3-mrjx , EUVD-2023-1616
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io ntpd 0.3.3
- tweedegolf ntpd-rs 0.3.3
Is CVE-2023-33192 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.71% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-14).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | ntpd | >=0.3.0, <0.3.3 |
0.3.3 |
Affected products
- pendulum-project ntpd-rs
Classification
- Weakness
-
- CWE-130 Improper Handling of Length Parameter Inconsistency
References
-
github.com
/pendulum-project/ntpd-rs/pull/752
web, patch
-
github.com
/pendulum-project/ntpd-rs/security/advisories/GHSA-qwhm-h7v3-mrjx
web, mitigation, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-33192
advisory
-
github.com
/pendulum-project/ntpd-rs
package
-
github.com
/pendulum-project/ntpd-rs/releases/tag/v0.3.3
web
Sources
- CVE List CVE-2023-33192
- GitHub Advisory GHSA-qwhm-h7v3-mrjx
- NVD CVE-2023-33192
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.