CVE-2023-33192
published 2023-05-27CVE-2023-33192: 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…
PriorityP341high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.71%
48.8th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| dave_mills | ntpd | >= 0.3.0 < 0.3.3 | 0.3.3 |
| pendulum-project | ntpd-rs | — | — |
| tweedegolf | ntpd-rs | >= 0.3.0 < 0.3.3 | 0.3.3 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Improper handling of NTS cookie length that could crash the ntpd-rs server
osv·2023-05-25
CVE-2023-33192 [HIGH] Improper handling of NTS cookie length that could crash the ntpd-rs server
Improper handling of NTS cookie length that could crash the ntpd-rs server
### Impact
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.
ntpd-rs running purely as an ntp client is not affected.
### Patches
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
### Workarounds
ntpd-rs running purely as an ntp client is not affected. By default, ntpd-rs packages a
GHSA
Improper handling of NTS cookie length that could crash the ntpd-rs server
ghsa·2023-05-25
CVE-2023-33192 [HIGH] CWE-130 Improper handling of NTS cookie length that could crash the ntpd-rs server
Improper handling of NTS cookie length that could crash the ntpd-rs server
### Impact
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.
ntpd-rs running purely as an ntp client is not affected.
### Patches
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
### Workarounds
ntpd-rs running purely as an ntp client is not affected. By default, ntpd-rs packages a
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2023-05-27
Published