GHSA-rwq6-crjg-9cpw · 深刻度: high · エコシステム: rust — ic-cdk has a memory leak when calling a canister method via `ic_cdk::call`
When a canister method is called via ic_cdk::call* , a new Future CallFuture is created and can be awaited by the caller to get the execution result. Internally, the state of the Future is tracked and stored in a struct called CallFutureState. A bug in the polling implementation of the CallFuture allows multiple references to be held for this internal state and not all references were dropped before the Future is resolved. Since we have unaccounted references held, a copy of the internal state ended up being persisted in the canister's heap and thus causing a memory leak. Impact Canisters built in Rust with ic_cdk and ic_cdk_timers are affected. If these canisters call a canister method, use timers or heartbeat, they will likely leak a small amount of memory on every such operation. In the worst case, this could lead to heap memory exhaustion triggered by an attacker. Motoko based canisters are not affected by the bug. PatchesThe patch has been backported to all minor versions between >= 0.8.0, <= 0.15.0. The patched versions available are 0.8.2, 0.9.3, 0.10.1, 0.11.6, 0.12.2, 0.13.5, 0.14.1, 0.15.1 and their previous versions have been yanked. WorkaroundsThere are no known workarounds at the moment. Developers are recommended to upgrade their canister as soon as possible to the latest available patched version of ic_cdk to avoid running out of Wasm heap memory. Upgrading the canisters (without updating `ic_cdk`) also frees the leaked memory but it's only a temporary solution.
総合評価: CVE-2024-7884 は中リスク(40.9/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.12%、31 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2025-11-30 | 0.15% | 0.12% | -0.04% |
| 2 | 2025-11-21 | 0.65% | 0.15% | -0.49% |
| 3 | 2025-11-18 | — | 0.65% | — |
EPSS の全履歴 (全 14 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | 6b35d637-e00f-4228-858c-b20ad6e1d07b |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-rwq6-crjg-9cpw · 深刻度: high · エコシステム: rust — ic-cdk has a memory leak when calling a canister method via `ic_cdk::call`
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| dfinity | canister_developer_kit_for_the_internet_computer | >= 0.8.0, < 0.8.2 | cpe:2.3:a:dfinity:canister_developer_kit_for_the_internet_computer:*:*:*:*:*:rust:*:* |
| dfinity | canister_developer_kit_for_the_internet_computer | >= 0.9.0, < 0.9.3 | cpe:2.3:a:dfinity:canister_developer_kit_for_the_internet_computer:*:*:*:*:*:rust:*:* |
| dfinity | canister_developer_kit_for_the_internet_computer | >= 0.11.0, < 0.11.6 | cpe:2.3:a:dfinity:canister_developer_kit_for_the_internet_computer:*:*:*:*:*:rust:*:* |
| dfinity | canister_developer_kit_for_the_internet_computer | >= 0.12.0, < 0.12.2 | cpe:2.3:a:dfinity:canister_developer_kit_for_the_internet_computer:*:*:*:*:*:rust:*:* |
| dfinity | canister_developer_kit_for_the_internet_computer | >= 0.13.0, < 0.13.5 | cpe:2.3:a:dfinity:canister_developer_kit_for_the_internet_computer:*:*:*:*:*:rust:*:* |
| dfinity | canister_developer_kit_for_the_internet_computer | 0.10.0 | cpe:2.3:a:dfinity:canister_developer_kit_for_the_internet_computer:0.10.0:*:*:*:*:rust:*:* |
| dfinity | canister_developer_kit_for_the_internet_computer | 0.14.0 | cpe:2.3:a:dfinity:canister_developer_kit_for_the_internet_computer:0.14.0:*:*:*:*:rust:*:* |
| dfinity | canister_developer_kit_for_the_internet_computer | 0.15.0 | cpe:2.3:a:dfinity:canister_developer_kit_for_the_internet_computer:0.15.0:*:*:*:*:rust:*:* |
| URL | タグ |
|---|---|
| https://docs.rs/ic-cdk/latest/ic_cdk/ | Product |
| https://github.com/dfinity/cdk-rs/pull/509 | Issue Tracking Patch |
| https://internetcomputer.org/docs/current/references/ic-interface-spec | Product |