CVE-2024-7884 — Vulnerability in ic_cdk — CVE Details
ic-cdk has a memory leak when calling a canister method via `ic_cdk::call`
Summary
Advisory Timeline
- First published September 5, 2024 (767 days ago).
- Last revised September 9, 2024 — 4 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p ic_cdk --precise 0.10.1
cargo update -p ic_cdk --precise 0.14.1
cargo update -p ic_cdk --precise 0.8.2
cargo update -p ic_cdk --precise 0.9.3
cargo update -p ic_cdk --precise 0.15.1
cargo update -p ic_cdk --precise 0.12.2
cargo update -p ic_cdk --precise 0.11.6
cargo update -p ic_cdk --precise 0.13.5
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (8)
Affects 1 ecosystem: crates.io (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-401Memory LeakMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/dfinity/cdk-rs/security/advisories/GHSA-rwq6-crjg-9cpwWEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-7884ADVISORY
- https://github.com/dfinity/cdk-rs/pull/509WEB
- https://github.com/dfinity/cdk-rs/commit/bd17d57a7b8ca59665fea5fad6143ca02724d03bWEB
- https://docs.rs/ic-cdk/latest/ic_cdkWEB
- https://github.com/dfinity/cdk-rsPACKAGE
- https://internetcomputer.org/docs/current/references/ic-interface-specWEB
- https://rustsec.org/advisories/RUSTSEC-2024-0372.htmlWEB
Frequently Asked Questions
- What is CVE-2024-7884?
- ic-cdk has a memory leak when calling a canister method via `ic_cdk::call` This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2024-7884?
- CVE-2024-7884 affects ic_cdk. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-7884 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-93657HIGH
hickory-resolver: Resolver::lookup() and Resolver::lookup_ip() APIs obscure DNSSEC validation failures
- CVE-2026-18140HIGH
aws-smithy-json: Uncontrolled recursion in the aws-smithy-json unknown-key skip path allows unauthenticated remote denial of service in smithy-rs generated servers
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies