GHSA-pr39-8257-fxc2: Nervos CKB DoS Process Exists When P2p Discovery Vulnerability
LOWGHSA-pr39-8257-fxc2 is a LOW process exists when p2p discovery vulnerability (General Security Weakness) affecting Nervos CKB DoS libraries in the crates.io ecosystem. The issue involves process exists when p2p discovery protocol receives unsupported peer ip. Remediation is available by upgrading affected packages to version 0.34.0.
GHSA-pr39-8257-fxc2 at a Glance
How to Fix GHSA-pr39-8257-fxc2
To remediate this vulnerability, upgrade all affected Nervos CKB DoS 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 ckb to 0.34.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for ckb
How to Check if You Are Affected
To determine whether your application is affected by GHSA-pr39-8257-fxc2, inspect your project dependencies for Nervos CKB DoS:
inspect dependencies for ckb
Analyze the terminal output to locate any version of Nervos CKB DoS in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.34.0), 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 General Security Weakness. In Nervos CKB DoS, 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-pr39-8257-fxc2 Affected Nervos CKB DoS Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ckb
|
crates.io |
< 0.34.0
|
0.34.0
|
References
Frequently Asked Questions
What is GHSA-pr39-8257-fxc2?
Which Nervos CKB DoS versions are affected?
What version fixes GHSA-pr39-8257-fxc2?
Is ckb affected?
What CWE is associated with GHSA-pr39-8257-fxc2?
How can I check crates.io dependencies for GHSA-pr39-8257-fxc2?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pr39-8257-fxc2",
"modified" : "2024-02-02T22:22:42Z",
"published" : "2024-02-02T22:22:42Z",
"aliases" : [ ],
"summary" : "Nervos CKB DoS: Process exists when p2p discovery protocol receives unsupported peer IP",
"details" : "The p2p discovery protocol assumes that the peer IP must be valid IPv4 address.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "ckb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.34.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nervosnetwork/ckb/security/advisories/GHSA-pr39-8257-fxc2"
}, {
"type" : "WEB",
"url" : "https://github.com/nervosnetwork/ckb/commit/d909cdebacc4747e972de4a7e5f19c8f79480361"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-02T22:22:42Z",
"nvd_published_at" : null
}
}