stb_image 中的 stbi__vertical_flip 中的多字节读取堆缓冲区溢出 (CVE-2023-45662)

admin 2023-11-29 18:32:56 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 stb_image 中的 stbi__vertical_flip 中的多字节读取堆缓冲区溢出 (CVE-2023-45662)

CVE编号

CVE-2023-45662

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-10-21
漏洞描述
stb_image是一个单文件MIT许可库,用于处理图像。当将`stbi_set_flip_vertically_on_load`设置为`TRUE`且`req_comp`设置为与每像素实际组件数量不匹配的数值时,库会尝试垂直翻转图像。恶意构造的图像文件可以触发`memcpy`越界读取漏洞,因为用于计算`bytes_per_row`的`bytes_per_pixel`与实际图像数组尺寸不匹配。
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9...
https://lists.fedoraproject.org/archives/list/[email protected]...
https://lists.fedoraproject.org/archives/list/[email protected]...
https://lists.fedoraproject.org/archives/list/[email protected]...
https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 nothings stb_image.h 2.28 -
运行在以下环境
系统 debian_10 libstb * Up to (including) 0.0~git20180212.15.e6afb9c-1
运行在以下环境
系统 debian_11 libstb * Up to (including) 0.0~git20200713.b42009b+ds-1
运行在以下环境
系统 debian_12 libstb * Up to (including) 0.0~git20220908.8b5f1f3+ds-1
运行在以下环境
系统 debian_sid libstb * Up to (including) 0.0~git20230129.5736b15+ds-1
运行在以下环境
系统 fedora_37 stb_hexwave-devel-0.5^20231011gitbeebb24-12.fc37.aarch64.rpm ( * Up to (excluding) 0^20231011gitbeebb24-12.fc37
运行在以下环境
系统 fedora_38 stb_divide-devel-0.94^20231011gitbeebb24-12.fc38.ppc64le.rpm ( * Up to (excluding) 0^20231011gitbeebb24-12.fc38
运行在以下环境
系统 fedora_39 stb_tilemap_editor-devel-0.42^20231011gitbeebb24-12.fc39.s390x.rpm ( * Up to (excluding) 0^20231011gitbeebb24-12.fc39
运行在以下环境
系统 fedora_40 stb_leakcheck-devel-0.6^20231011gitbeebb24-12.fc40.i686.rpm ( * Up to (excluding) 0^20231011gitbeebb24-12.fc40
运行在以下环境
系统 fedora_EPEL_7 stb_hexwave-devel-0.5-0.39.20231011gitbeebb24.el7.x86_64.rpm ( * Up to (excluding) 0-0.39.20231011gitbeebb24.el7
运行在以下环境
系统 fedora_EPEL_8 stb_hexwave-devel-0.5-0.39.20231011gitbeebb24.el8.s390x.rpm ( * Up to (excluding) 0-0.39.20231011gitbeebb24.el8
运行在以下环境
系统 fedora_EPEL_9 stb_textedit-devel-1.14^20231011gitbeebb24-12.el9.s390x.rpm ( * Up to (excluding) 0^20231011gitbeebb24-12.el9
阿里云评分 6.1
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 普通权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-125 跨界内存读
- 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