GHSA-3rcq-39xp-7xjp · 深刻度: medium · エコシステム: rust — ic-stable-structures vulnerable to BTreeMap memory leak when deallocating nodes with overflows
When storing unbounded types in a BTreeMap, a node is represented as a linked list of "memory chunks". It was discovered recently that when we deallocate a node, in some cases only the first memory chunk is deallocated, and the rest of the memory chunks remain (incorrectly) allocated, causing a memory leak. In the worst case, depending on how a canister uses the BTreeMap, an adversary could interact with the canister through its API and trigger interactions with the map that keep consuming memory due to the memory leak. This could potentially lead to using an excessive amount of memory, or even running out of memory. This issue has been fixed in #212 https://github.com/dfinity/stable-structures/pull/212 by changing the logic for deallocating nodes to ensure that all of a node's memory chunks are deallocated and users are asked to upgrade to version 0.6.4.. Tests have been added to prevent regressions of this nature moving forward. Note: Users of stable-structure < 0.6.0 are not affected. Users who are not storing unbounded types in BTreeMap are not affected and do not need to upgrade. Otherwise, an upgrade to version 0.6.4 is necessary.
総合評価: CVE-2024-4435 は低リスク(37.7/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.52%、40 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.21% | 0.52% | +0.31% |
| 2 | 2026-01-12 | 0.27% | 0.21% | -0.07% |
| 3 | 2025-12-11 | — | 0.27% | — |
EPSS の全履歴 (全 8 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 5.9 | 3.1 | MEDIUM |
|
2.2 | 3.6 | 6b35d637-e00f-4228-858c-b20ad6e1d07b |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-3rcq-39xp-7xjp · 深刻度: medium · エコシステム: rust — ic-stable-structures vulnerable to BTreeMap memory leak when deallocating nodes with overflows
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| dfinity | stable_structures | < 0.6.0 | cpe:2.3:a:dfinity:stable_structures:*:*:*:*:*:rust:*:* |