zyantific zydis 堆缓冲区溢出

admin 2023-11-30 18:53:23 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 zyantific zydis 堆缓冲区溢出

CVE编号

CVE-2021-41253

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-11-09
漏洞描述
Zydis is an x86/x86-64 disassembler library. Users of Zydis versions v3.2.0 and older that use the string functions provided in `zycore` in order to append untrusted user data to the formatter buffer within their custom formatter hooks can run into heap buffer overflows. Older versions of Zydis failed to properly initialize the string object within the formatter buffer, forgetting to initialize a few fields, leaving their value to chance. This could then in turn cause zycore functions like `ZyanStringAppend` to make incorrect calculations for the new target size, resulting in heap memory corruption. This does not affect the regular uncustomized Zydis formatter, because Zydis internally doesn't use the string functions in zycore that act upon these fields. However, because the zycore string functions are the intended way to work with the formatter buffer for users of the library that wish to extend the formatter, we still consider this to be a vulnerability in Zydis. This bug is patched starting in version 3.2.1. As a workaround, users may refrain from using zycore string functions in their formatter hooks until updating to a patched version.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/zyantific/zydis/commit/55dd08c210722aed81b38132f5fd4a04ec1943b5
https://github.com/zyantific/zydis/security/advisories/GHSA-q42v-hv86-3m4g
https://huntr.dev/bounties/96b0a482-7041-45b1-9327-c6a4a8f32d3a
https://huntr.dev/bounties/d2536d7d-36ce-4723-928c-98d1ee039784
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 zyantific zydis * Up to (including) 3.2.0
运行在以下环境
系统 debian_12 zydis * Up to (excluding) 3.2.1-1
运行在以下环境
系统 debian_sid zydis * Up to (excluding) 3.2.1-1
阿里云评分 5.9
  • 攻击路径 远程
  • 攻击复杂度 复杂
  • 权限要求 普通权限
  • 影响范围 全局影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-122 堆缓冲区溢出
CWE-457 使用未经初始化的变量
CWE-908 对未经初始化资源的使用
- 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