GHSA-pr39-8257-fxc2: Nervos CKB DoS Process Exists When P2p Discovery Vulnerability

LOW
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-pr39-8257-fxc2
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Nervos CKB DoS
Package Ecosystem crates.io
Published Date
Last Updated

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.

ckb fixed: 0.34.0
Upgrade ckb to 0.34.0
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 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

The p2p discovery protocol assumes that the peer IP must be valid IPv4 address.

GHSA-pr39-8257-fxc2 Affected Nervos CKB DoS Versions

1 component(s)
Fixed Versions:
0.34.0
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?
GHSA-pr39-8257-fxc2 is a security vulnerability in Nervos CKB DoS involving Process exists when p2p discovery protocol receives unsupported peer IP under General Security Weakness.
Which Nervos CKB DoS versions are affected?
Affected versions include releases prior to 0.34.0 across affected packages: ckb.
What version fixes GHSA-pr39-8257-fxc2?
Upgrading to 0.34.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ckb affected?
Yes, ckb is affected in releases prior to 0.34.0. Upgrade your dependency to 0.34.0 or later.
What CWE is associated with GHSA-pr39-8257-fxc2?
GHSA-pr39-8257-fxc2 is classified under General Security Weakness.
How can I check crates.io dependencies for GHSA-pr39-8257-fxc2?
Run the dependency tree command: 'inspect dependencies for ckb'. 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-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
  }
}