Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. ckb
  4. ›
  5. GHSA-r9rv-9mh8-pxf4

GHSA-r9rv-9mh8-pxf4: Nervos CKB BlockTimeTooNew should not be considered as invalid block

February 2, 2024

Currently, when a node receives a block in future according to its local wall clock, it will mark the block as invalid and ban the peer.

If the header’s timestamp is more than 15 seconds ahead of our current time. In that case, the header may become valid in the future, and we don’t want to disconnect a peer merely for serving us one too-far-ahead block header, to prevent an attacker from splitting the network by mining a block right at the 15 seconds boundary.

References

  • github.com/advisories/GHSA-r9rv-9mh8-pxf4
  • github.com/nervosnetwork/ckb/commit/760d447c8b600df0539debe80b1625836fc72819
  • github.com/nervosnetwork/ckb/security/advisories/GHSA-r9rv-9mh8-pxf4

Code Behaviors & Features

Detect and mitigate GHSA-r9rv-9mh8-pxf4 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.33.1

Fixed versions

  • 0.33.1

Solution

Upgrade to version 0.33.1 or above.

Source file

cargo/ckb/GHSA-r9rv-9mh8-pxf4.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:15 +0000.