GHSA-p2gm-ffr3-w2xw: Ckb Remote Code Execution Vulnerability
LOWGHSA-p2gm-ffr3-w2xw is a LOW remote code execution vulnerability (General Security Weakness) affecting Ckb libraries in the crates.io ecosystem. The issue involves nervos ckb vulnerable to low-resource flood ddos attacks through network message. Remediation is available by upgrading affected packages to version 0.101.4.
GHSA-p2gm-ffr3-w2xw at a Glance
How to Fix GHSA-p2gm-ffr3-w2xw
To remediate this vulnerability, upgrade all affected Ckb 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.101.4
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-p2gm-ffr3-w2xw, inspect your project dependencies for Ckb:
inspect dependencies for ckb
Analyze the terminal output to locate any version of Ckb in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.101.4), 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 Ckb, 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-p2gm-ffr3-w2xw Affected Ckb Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ckb
|
crates.io |
< 0.101.4
|
0.101.4
|
References
Frequently Asked Questions
What is GHSA-p2gm-ffr3-w2xw?
Which Ckb versions are affected?
What version fixes GHSA-p2gm-ffr3-w2xw?
Is ckb affected?
What CWE is associated with GHSA-p2gm-ffr3-w2xw?
How can I check crates.io dependencies for GHSA-p2gm-ffr3-w2xw?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p2gm-ffr3-w2xw",
"modified" : "2023-02-08T18:17:06Z",
"published" : "2023-02-08T18:17:06Z",
"aliases" : [ ],
"summary" : "Nervos CKB vulnerable to low-resource flood DDoS attacks through network message",
"details" : "### Workarounds\n* forbid request genesis through network request\n* forbid requesting duplicate data through network request\n\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "ckb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.101.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nervosnetwork/ckb/security/advisories/GHSA-p2gm-ffr3-w2xw"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nervosnetwork/ckb"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-08T18:17:06Z",
"nvd_published_at" : null
}
}