CVE-2025-53901 (CNNVD-202507-2463)

LOW
中文标题:
Bytecode Alliance Wasmtime 安全漏洞
英文标题:
Wasmtime has host panic with `fd_renumber` WASIp1 function
CVSS分数: 3.5
发布时间: 2025-07-18 17:10:11
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

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类型:
CWE-672
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 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:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-fm79-3f68-h2fc x_refsource_CONFIRM
cve.org
访问
https://docs.wasmtime.dev/security-what-is-considered-a-security-vulnerability.html x_refsource_MISC
cve.org
访问
https://docs.wasmtime.dev/stability-release.html x_refsource_MISC
cve.org
访问
https://github.com/WebAssembly/WASI/blob/e1aa1cae4dda4c1f70f23fe11e922aae92f240a8/legacy/preview1/witx/wasi_snapshot_preview1.witx#L245-L260 x_refsource_MISC
cve.org
访问
https://github.com/bytecodealliance/wasmtime/blob/037a6edadbc225decbea00a551aabf04203717d9/crates/wasi/src/preview1.rs#L1824-L1836 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
LOW
3.5
CVSS向量: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
机密性
NONE
完整性
NONE
可用性
LOW
时间信息
发布时间:
2025-07-18 17:10:11
修改时间:
2025-07-18 17:31:45
创建时间:
2025-11-11 15:40:41
更新时间:
2025-11-11 16:00:00
利用信息
暂无可利用代码信息
数据源详情
数据源 记录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
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:00
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202507-2463; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202507-2463
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:29
affected_products_count: 3 → 4; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 3 -> 4
  • data_sources: ['cve'] -> ['cve', 'nvd']