GHSA-37xq-q42p-rv3p: Ntpd Ntpd Has Dependency On Vulnerable Vulnerability

LOW
CVSS 2.6
CWE-1395
Published
Advisory Summary

GHSA-37xq-q42p-rv3p is a LOW (CVSS 2.6) ntpd has dependency on vulnerable vulnerability (CWE-1395: Dependency on Vulnerable Third-Party Component) affecting Ntpd libraries in the crates.io ecosystem. The issue involves ntpd has dependency on vulnerable third-party component. Remediation is available by upgrading affected packages to version 0.3.7.

GHSA-37xq-q42p-rv3p at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-37xq-q42p-rv3p
Severity LOW
CVSS v3.1 Base Score 2.6
CWE Classification CWE-1395: Dependency on Vulnerable Third-Party Component
Affected Product Ntpd
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 2.6

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L).

Attack Vector Adjacent (AV:A)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix GHSA-37xq-q42p-rv3p

To remediate this vulnerability, upgrade all affected Ntpd dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

ntpd fixed: 0.3.7
Upgrade ntpd to 0.3.7
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for ntpd

How to Check if You Are Affected

To determine whether your application is affected by GHSA-37xq-q42p-rv3p, inspect your project dependencies for Ntpd:

inspect dependencies for ntpd

Analyze the terminal output to locate any version of Ntpd in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.7), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1395: Dependency on Vulnerable Third-Party Component, where the product has a dependency on a third-party component that contains one or more known vulnerabilities. In Ntpd, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

During startup, an attacker that can man-in-the-middle traffic to and from NTS key exchange servers can trigger a very expensive key validation process due to a vulnerability in webpki. ### Impact This vulnerability can lead to excessive cpu usage on startup on clients configured to use NTS ### Patches Affected users are recommended to upgrade to version 0.3.7 ### References See also https://github.com/rustsec/advisory-db/blob/main/crates/rustls-webpki/RUSTSEC-2023-0053.md

GHSA-37xq-q42p-rv3p Affected Ntpd Versions

1 component(s)
Fixed Versions:
0.3.7
Product / Package Ecosystem Affected Versions Fixed Version
ntpd
crates.io
< 0.3.7
0.3.7

References

Frequently Asked Questions

What is GHSA-37xq-q42p-rv3p?
GHSA-37xq-q42p-rv3p is a security vulnerability in Ntpd involving ntpd has Dependency on Vulnerable Third-Party Component under CWE-1395: Dependency on Vulnerable Third-Party Component.
Which Ntpd versions are affected?
Affected versions include releases prior to 0.3.7 across affected packages: ntpd.
What version fixes GHSA-37xq-q42p-rv3p?
Upgrading to 0.3.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ntpd affected?
Yes, ntpd is affected in releases prior to 0.3.7. Upgrade your dependency to 0.3.7 or later.
What is the CVSS score of GHSA-37xq-q42p-rv3p?
GHSA-37xq-q42p-rv3p has a CVSS v3.1 base score of 2.6 (LOW) with vector string CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L.
What CWE is associated with GHSA-37xq-q42p-rv3p?
GHSA-37xq-q42p-rv3p is classified under CWE-1395: Dependency on Vulnerable Third-Party Component (The product has a dependency on a third-party component that contains one or more known vulnerabilities.).
How can I check crates.io dependencies for GHSA-37xq-q42p-rv3p?
Run the dependency tree command: 'inspect dependencies for ntpd'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-37xq-q42p-rv3p",
  "modified" : "2024-06-26T15:20:09Z",
  "published" : "2023-08-24T22:18:39Z",
  "aliases" : [ ],
  "summary" : "ntpd has Dependency on Vulnerable Third-Party Component",
  "details" : "During startup, an attacker that can man-in-the-middle traffic to and from NTS key exchange servers can trigger a very expensive key validation process due to a vulnerability in webpki.\n\n### Impact\nThis vulnerability can lead to excessive cpu usage on startup on clients configured to use NTS\n\n### Patches\nAffected users are recommended to upgrade to version 0.3.7\n\n### References\nSee also https://github.com/rustsec/advisory-db/blob/main/crates/rustls-webpki/RUSTSEC-2023-0053.md\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "ntpd"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.3.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/pendulum-project/ntpd-rs/security/advisories/GHSA-37xq-q42p-rv3p"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pendulum-project/ntpd-rs/commit/927952a440176a18f3ded132eb831ae7f7ac5c00"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pendulum-project/ntpd-rs"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rustsec/advisory-db/blob/main/crates/rustls-webpki/RUSTSEC-2023-0053.md"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1395" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-24T22:18:39Z",
    "nvd_published_at" : null
  }
}