CVE-2024-47763 | Wasmtime runtime crash when combining tail calls with trapping imports

Wasmtime is an open source runtime for WebAssembly. Wasmtime's implementation of WebAssembly tail calls combined with stack traces can result in a runtime crash in certain WebAssembly modules. The runtime crash may be undefined behavior if Wasmtime was compiled with Rust 1.80 or prior. The runtime crash is a deterministic process abort when Wasmtime is compiled with Rust 1.81 and later. WebAssembly tail calls are a proposal which relatively recently reached stage 4 in the standardization process. Wasmtime first enabled support for tail calls by default in Wasmtime 21.0.0, although that release contained a bug where it was only on-by-default for some configurations. In Wasmtime 22.0.0 tail calls were enabled by default for all configurations. The specific crash happens when an exported function in a WebAssembly module (or component) performs a `return_call` (or `return_call_indirect` or `return_call_ref`) to an imported host function which captures a stack trace (for example, the host function raises a trap). In this situation, the stack-walking code previously assumed there was always at least one WebAssembly frame on the stack but with tail calls that is no longer true. With the tail-call proposal it's possible to have an entry trampoline appear as if it directly called the exit trampoline. This situation triggers an internal assert in the stack-walking code which raises a Rust `panic!()`. When Wasmtime is compiled with Rust versions 1.80 and prior this means that an `extern "C"` function in Rust is raising a `panic!()`. This is technically undefined behavior and typically manifests as a process abort when the unwinder fails to unwind Cranelift-generated frames. When Wasmtime is compiled with Rust versions 1.81 and later this panic becomes a deterministic process abort. Overall the impact of this issue is that this is a denial-of-service vector where a malicious WebAssembly module or component can cause the host to crash. There is no other impact at this time other than availability of a service as the result of the crash is always a crash and no more. This issue was discovered by routine fuzzing performed by the Wasmtime project via Google's OSS-Fuzz infrastructure. We have no evidence that it has ever been exploited by an attacker in the wild. All versions of Wasmtime which have tail calls enabled by default have been patched: * 21.0.x - patched in 21.0.2 * 22.0.x - patched in 22.0.1 * 23.0.x - patched in 23.0.3 * 24.0.x - patched in 24.0.1 * 25.0.x - patched in 25.0.2. Wasmtime versions from 12.0.x (the first release with experimental tail call support) to 20.0.x (the last release with tail-calls off-by-default) have support for tail calls but the support is disabled by default. These versions are not affected in their default configurations, but users who explicitly enabled tail call support will need to either disable tail call support or upgrade to a patched version of Wasmtime. The main workaround for this issue is to disable tail support for tail calls in Wasmtime, for example with `Config::wasm_tail_call(false)`. Users are otherwise encouraged to upgrade to patched versions.

公開: 2024-10-09 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2024-47763 は低リスク(27.6/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.24%、15 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2024-47763 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.01% 0.24% +0.24%
2 2025-11-21 0.12% 0.01% -0.12%
3 2025-11-18 0.12%

EPSS の全履歴 (全 6 件)

CVE-2024-47763 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
5.5 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
1.8 3.6 [email protected]

CVE-2024-47763 の弱点分類(列挙)

CVE-2024-47763 の GitHub Security Advisory

GHSA-q8hx-mm92-4wvg · 深刻度: medium · エコシステム: rust — wasmtime has a runtime crash when combining tail calls with trapping imports

CVE-2024-47763 の OS トラッカー

vendor priority summary link
debian not yet assigned CVE-2024-47763 not yet assigned priority: Debian including 1 source packages (rust-wasmtime), 3 status rows across 3 suites (forky, sid, trixie): resolved 3. https://security-tracker.debian.org/tracker/CVE-2024-47763
redhat medium https://access.redhat.com/security/cve/CVE-2024-47763
ubuntu medium CVE-2024-47763 medium priority: Ubuntu including 1 source packages (rust-wasmtime), 7 status rows across 7 suites (focal, jammy, noble, oracular, plucky, questing, upstream): needs-triage 3, DNE 2, ignored 2. https://ubuntu.com/security/CVE-2024-47763

CVE-2024-47763 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
bytecodealliance wasmtime 21.0.0 cpe:2.3:a:bytecodealliance:wasmtime:21.0.0:*:*:*:*:rust:*:*
bytecodealliance wasmtime 21.0.1 cpe:2.3:a:bytecodealliance:wasmtime:21.0.1:*:*:*:*:rust:*:*
bytecodealliance wasmtime 22.0.0 cpe:2.3:a:bytecodealliance:wasmtime:22.0.0:*:*:*:*:rust:*:*
bytecodealliance wasmtime 23.0.0 cpe:2.3:a:bytecodealliance:wasmtime:23.0.0:*:*:*:*:rust:*:*
bytecodealliance wasmtime 23.0.1 cpe:2.3:a:bytecodealliance:wasmtime:23.0.1:*:*:*:*:rust:*:*
bytecodealliance wasmtime 23.0.2 cpe:2.3:a:bytecodealliance:wasmtime:23.0.2:*:*:*:*:rust:*:*
bytecodealliance wasmtime 24.0.0 cpe:2.3:a:bytecodealliance:wasmtime:24.0.0:*:*:*:*:rust:*:*
bytecodealliance wasmtime 25.0.0 cpe:2.3:a:bytecodealliance:wasmtime:25.0.0:*:*:*:*:rust:*:*
bytecodealliance wasmtime 25.0.1 cpe:2.3:a:bytecodealliance:wasmtime:25.0.1:*:*:*:*:rust:*:*

CVE-2024-47763 の参考情報

cvelogic Threat Intelligence