{"id":"GHSA-2969-8hh9-57jc","revision":"97a61f907b86496c98e542015bf67ee1","records":[{"revision":"97a61f907b86496c98e542015bf67ee1","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-2969-8hh9-57jc","aliases":["CVE-2021-45699","GHSA-48vq-8jqv-gm6f","RUSTSEC-2021-0108"],"title":"Allocation of Resources Without Limits or Throttling in ckb","description":"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.","state":0,"publishedAt":"2022-01-06T22:09:49+00:00","modifiedAt":"2023-11-08T04:07:22.625998+00:00","affected":[{"ecosystem":"crates.io","name":"ckb","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.40.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/nervosnetwork/ckb/security/advisories/GHSA-48vq-8jqv-gm6f","https://nvd.nist.gov/vuln/detail/CVE-2021-45699","https://github.com/nervosnetwork/ckb","https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/ckb/RUSTSEC-2021-0108.md","https://rustsec.org/advisories/RUSTSEC-2021-0108.html"],"sourceUrl":"https://github.com/advisories/GHSA-2969-8hh9-57jc","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-2969-8hh9-57jc","identifiers":["GHSA-2969-8hh9-57jc","CVE-2021-45699","GHSA-48vq-8jqv-gm6f","RUSTSEC-2021-0108"]},"retained":false,"historicalAffected":[]}],"coverage":[]}