GHSA-37xq-q42p-rv3p: Ntpd Ntpd Has Dependency On Vulnerable Vulnerability
LOWGHSA-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
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).
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.
Upgrade ntpd to 0.3.7
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
GHSA-37xq-q42p-rv3p Affected Ntpd Versions
1 component(s)| 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?
Which Ntpd versions are affected?
What version fixes GHSA-37xq-q42p-rv3p?
Is ntpd affected?
What is the CVSS score of GHSA-37xq-q42p-rv3p?
What CWE is associated with GHSA-37xq-q42p-rv3p?
How can I check crates.io dependencies for GHSA-37xq-q42p-rv3p?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}