低危 Wasmtime Off by One 漏洞(CVE-2023-27477)

CVE编号

CVE-2023-27477

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-03-09
漏洞描述
wasmtime is a fast and secure runtime for WebAssembly. Wasmtime's code generation backend, Cranelift, has a bug on x86_64 platforms for the WebAssembly `i8x16.select` instruction which will produce the wrong results when the same operand is provided to the instruction and some of the selected indices are greater than 16. There is an off-by-one error in the calculation of the mask to the `pshufb` instruction which causes incorrect results to be returned if lanes are selected from the second vector. This codegen bug has been fixed in Wasmtiem 6.0.1, 5.0.1, and 4.0.1. Users are recommended to upgrade to these updated versions. If upgrading is not an option for you at this time, you can avoid this miscompilation by disabling the Wasm simd proposal. Additionally the bug is only present on x86_64 hosts. Other platforms such as AArch64 and s390x are not affected.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 bytecodealliance cranelift-codegen * From
(including)
0.84.0
Up to
(excluding)
0.91.1
运行在以下环境
应用 bytecodealliance cranelift-codegen 0.92.0 -
运行在以下环境
应用 bytecodealliance cranelift-codegen 0.93.0 -
运行在以下环境
应用 bytecodealliance wasmtime * From
(including)
0.37.0
Up to
(excluding)
4.0.1
运行在以下环境
应用 bytecodealliance wasmtime 5.0.0 -
运行在以下环境
应用 bytecodealliance wasmtime 6.0.0 -
阿里云评分
3.7
  • 攻击路径
    本地
  • 攻击复杂度
    困难
  • 权限要求
    管控权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-193 Off-by-one错误
阿里云安全产品覆盖情况