Advisory

GHSA-2969-8hh9-57jc

Also known as: CVE-2021-45699, GHSA-48vq-8jqv-gm6f, RUSTSEC-2021-0108

Summary

Allocation of Resources Without Limits or Throttling in ckb

Details

An issue was discovered in the ckb crate before 0.40.0 for Rust. Remote attackers may be able to conduct a 51% attack against the Nervos CKB blockchain by triggering an inability to allocate memory for the misbehavior HashMap.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-01-06 22:09 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

ckb

crates.io · All systems

Affected

  • introduced 0, fixed 0.40.0 (semver)

Fixed versions

0.40.0

Fix

  • Fixed version 0.40.0
    cargo update -p ckb --precise 0.40.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences