Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. ntpd
  4. ›
  5. CVE-2023-33192

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

May 25, 2023 (updated May 30, 2023)

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.

References

  • github.com/advisories/GHSA-qwhm-h7v3-mrjx
  • github.com/pendulum-project/ntpd-rs
  • github.com/pendulum-project/ntpd-rs/pull/752
  • github.com/pendulum-project/ntpd-rs/releases/tag/v0.3.3
  • github.com/pendulum-project/ntpd-rs/security/advisories/GHSA-qwhm-h7v3-mrjx
  • nvd.nist.gov/vuln/detail/CVE-2023-33192

Code Behaviors & Features

Detect and mitigate CVE-2023-33192 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.3.0 before 0.3.3

Fixed versions

  • 0.3.3

Solution

Upgrade to version 0.3.3 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-130: Improper Handling of Length Parameter Inconsistency

Source file

cargo/ntpd/CVE-2023-33192.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:07 +0000.