GHSA-29c2-65rj-h343: Ckb Nervos CKB Permit Load Cell Vulnerability
MODERATEGHSA-29c2-65rj-h343 is a MODERATE nervos ckb permit load cell vulnerability (General Security Weakness) affecting Ckb libraries in the crates.io ecosystem. The issue involves nervos ckb permit load cell data from memory. Remediation is available by upgrading affected packages to version 0.39.0, 0.35.2, 0.36.1, 0.37.1, 0.38.2.
GHSA-29c2-65rj-h343 at a Glance
How to Fix GHSA-29c2-65rj-h343
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.39.0
Upgrade ckb to 0.35.2
Upgrade ckb to 0.36.1
Upgrade ckb to 0.37.1
Upgrade ckb to 0.38.2
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-29c2-65rj-h343, 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.39.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 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-29c2-65rj-h343 Affected Ckb Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ckb
|
crates.io |
≥ 0.39.0-rc1
< 0.39.0
|
0.39.0
|
|
ckb
|
crates.io |
≥ 0.35.0-rc1
< 0.35.2
|
0.35.2
|
|
ckb
|
crates.io |
≥ 0.36.0-rc1
< 0.36.1
|
0.36.1
|
|
ckb
|
crates.io |
≥ 0.37.0-rc1
< 0.37.1
|
0.37.1
|
|
ckb
|
crates.io |
≥ 0.38.0-rc1
< 0.38.2
|
0.38.2
|
References
Frequently Asked Questions
What is GHSA-29c2-65rj-h343?
Which Ckb versions are affected?
What version fixes GHSA-29c2-65rj-h343?
Is ckb affected?
What CWE is associated with GHSA-29c2-65rj-h343?
How can I check crates.io dependencies for GHSA-29c2-65rj-h343?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-29c2-65rj-h343",
"modified" : "2024-02-03T00:29:06Z",
"published" : "2024-02-03T00:29:06Z",
"aliases" : [ ],
"summary" : "Nervos CKB Permit load cell data from memory",
"details" : "### Impact\n\nThe faulty nodes will reject transactions which calls `load_cell_data` syscall but the input cell is still in the mempool. They also ban other nodes and cause the network separation.\n\n### Patches\n\n0.35.2, 0.36.1, 0.37.1, 0.38.2",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "ckb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.39.0-rc1"
}, {
"fixed" : "0.39.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "crates.io",
"name" : "ckb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.35.0-rc1"
}, {
"fixed" : "0.35.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "crates.io",
"name" : "ckb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.36.0-rc1"
}, {
"fixed" : "0.36.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "crates.io",
"name" : "ckb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.37.0-rc1"
}, {
"fixed" : "0.37.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "crates.io",
"name" : "ckb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.38.0-rc1"
}, {
"fixed" : "0.38.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nervosnetwork/ckb/security/advisories/GHSA-29c2-65rj-h343"
}, {
"type" : "WEB",
"url" : "https://github.com/nervosnetwork/ckb/commit/277061867eb7d2766fa6737c8bf00684fc2462a6"
}, {
"type" : "WEB",
"url" : "https://github.com/nervosnetwork/ckb/commit/37d60d581c6713d3aca1a57018eaea45447ae0b2"
}, {
"type" : "WEB",
"url" : "https://github.com/nervosnetwork/ckb/commit/8f115b387f8f60f938bce4591f26cd78430b8771"
}, {
"type" : "WEB",
"url" : "https://github.com/nervosnetwork/ckb/commit/91efb7b6b4329d70d60eee91d5239a2de9b0d99f"
}, {
"type" : "WEB",
"url" : "https://github.com/nervosnetwork/ckb/commit/97647408ee9dbf525f6c678796e770887c9f8738"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-03T00:29:06Z",
"nvd_published_at" : null
}
}