bytecodealliance wasmtime 跨界内存写

admin 2023-11-30 05:13:05 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
bytecodealliance wasmtime 跨界内存写

CVE编号

CVE-2022-39394

利用情况

暂无

补丁情况

N/A

披露时间

2022-11-11
漏洞描述
Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0.2, there is a bug in Wasmtime's C API implementation where the definition of the `wasmtime_trap_code` does not match its declared signature in the `wasmtime/trap.h` header file. This discrepancy causes the function implementation to perform a 4-byte write into a 1-byte buffer provided by the caller. This can lead to three zero bytes being written beyond the 1-byte location provided by the caller. This bug has been patched and users should upgrade to Wasmtime 2.0.2. This bug can be worked around by providing a 4-byte buffer casted to a 1-byte buffer when calling `wasmtime_trap_code`. Users of the `wasmtime` crate are not affected by this issue, only users of the C API function `wasmtime_trap_code` are affected.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/bytecodealliance/wasmtime/commit/087d9d7becf7422b3f872a3bc...
https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-h84q-m8rr-3v9q
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 bytecodealliance wasmtime * Up to (excluding) 1.0.2
运行在以下环境
应用 bytecodealliance wasmtime * From (including) 2.0.0 Up to (excluding) 2.0.2
CVSS3评分 9.8
  • 攻击路径 网络
  • 攻击复杂度 低
  • 权限要求 无
  • 影响范围 未更改
  • 用户交互 无
  • 可用性 高
  • 保密性 高
  • 完整性 高
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-ID 漏洞类型
CWE-787 跨界内存写
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0