Vulnerability DatabaseGHSA-v83q-83hj-rw38

GHSA-v83q-83hj-rw38
Rust vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-v83q-83hj-rw38) affects ntpd-rs versions prior to 1.5.0, specifically related to the Network Time Security (NTS) client functionality. The issue was discovered and disclosed on February 28, 2025, affecting the cargo package ntpd (Rust). The vulnerability involves two denial of service conditions that can occur when handling NTS cookies in the client functionality (GitHub Advisory).

Technical details

The vulnerability consists of two distinct issues: 1) A division by zero vulnerability that occurs when processing zero-sized cookies during the calculation of new cookies to be requested, and 2) A buffer overflow condition that occurs when handling cookies larger than the buffer size. The vulnerability has been assigned a CVSS v4 score of 5.3 (Moderate), with attack vector being Network, attack complexity Low, and requiring no privileges or special requirements (GitHub Advisory).

Impact

When successfully exploited, these vulnerabilities can cause ntpd-rs to crash, resulting in a denial of service condition. The impact is limited to availability, with no effects on confidentiality or integrity. It's important to note that only configured NTS sources can exploit these vulnerabilities, while regular NTP sources or non-configured third parties cannot (GitHub Advisory).

Mitigation and workarounds

The vulnerabilities have been patched in ntpd-rs version 1.5.0. The fix includes adding a check to prevent division by zero for zero-sized cookies and implementing a limit that prevents accepting cookies larger than 350 bytes. For users unable to update, it is recommended to only add trusted NTS sources to ntpd-rs to prevent potential abuse (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management