CVE-2025-53901 (CNNVD-202507-2463)
中文标题:
Bytecode Alliance Wasmtime 安全漏洞
英文标题:
Wasmtime has host panic with `fd_renumber` WASIp1 function
漏洞描述
中文描述:
Bytecode Alliance Wasmtime是Bytecode Alliance开源的一个独立的仅用于 WebAssembly 和 WASI 的 wasm 优化软件。 Bytecode Alliance Wasmtime 24.0.4、33.0.2和34.0.2之前版本存在安全漏洞,该漏洞源于WASIp1实现缺陷,可能导致拒绝服务。
英文描述:
Wasmtime is a runtime for WebAssembly. Prior to versions 24.0.4, 33.0.2, and 34.0.2, a bug in Wasmtime's implementation of the WASIp1 set of import functions can lead to a WebAssembly guest inducing a panic in the host (embedder). The specific bug is triggered by calling `path_open` after calling `fd_renumber` with either two equal argument values or a second argument being equal to a previously-closed file descriptor number value. The corrupt state introduced in `fd_renumber` will lead to the subsequent opening of a file descriptor to panic. This panic cannot introduce memory unsafety or allow WebAssembly to break outside of its sandbox, however. There is no possible heap corruption or memory unsafety from this panic. This bug is in the implementation of Wasmtime's `wasmtime-wasi` crate which provides an implementation of WASIp1. The bug requires a specially crafted call to `fd_renumber` in addition to the ability to open a subsequent file descriptor. Opening a second file descriptor is only possible when a preopened directory was provided to the guest, and this is common amongst embeddings. A panic in the host is considered a denial-of-service vector for WebAssembly embedders and is thus a security issue in Wasmtime. This bug does not affect WASIp2 and embedders using components. In accordance with Wasmtime's release process, patch releases are available as 24.0.4, 33.0.2, and 34.0.2. Users of other release of Wasmtime are recommended to move to a supported release of Wasmtime. Embedders who are using components or are not providing guest access to create more file descriptors (e.g. via a preopened filesystem directory) are not affected by this issue. Otherwise, there is no workaround at this time, and affected embeddings are recommended to update to a patched version which will not cause a panic in the host.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| bytecodealliance | wasmtime | < 24.0.4 | - | - |
cpe:2.3:a:bytecodealliance:wasmtime:<_24.0.4:*:*:*:*:*:*:*
|
| bytecodealliance | wasmtime | >= 33.0.0, < 33.0.2 | - | - |
cpe:2.3:a:bytecodealliance:wasmtime:>=_33.0.0,_<_33.0.2:*:*:*:*:*:*:*
|
| bytecodealliance | wasmtime | >= 34.0.0, < 34.0.2 | - | - |
cpe:2.3:a:bytecodealliance:wasmtime:>=_34.0.0,_<_34.0.2:*:*:*:*:*:*:*
|
| bytecodealliance | wasmtime | * | - | - |
cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:rust:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
cve.org
cve.org
cve.org
cve.org
cve.org
CVSS评分详情
3.1 (cna)
LOWCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2025-53901 |
2025-11-11 15:23:28 | 2025-11-11 07:40:41 |
| NVD | nvd_CVE-2025-53901 |
2025-11-11 15:00:56 | 2025-11-11 07:48:29 |
| CNNVD | cnnvd_CNNVD-202507-2463 |
2025-11-11 15:12:51 | 2025-11-11 08:00:00 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202507-2463
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 3 -> 4
- data_sources: ['cve'] -> ['cve', 'nvd']