stb_vorbis 中 start_decoder 中的 0 字节写入堆缓冲区溢出 (CVE-2023-45675)

admin 2023-11-29 18:32:45 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 stb_vorbis 中 start_decoder 中的 0 字节写入堆缓冲区溢出 (CVE-2023-45675)

CVE编号

CVE-2023-45675

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-10-21
漏洞描述
stb_vorbis是一个单文件MIT许可的库,用于处理ogg vorbis文件。一个特制的文件可能会在'f->vendor[len] = (char)'\0';'中触发越界写入。根本原因是在'start_decoder'中读取的len值为'-1',当传递给'setup_malloc'时,'len + 1'变为0。当'f->alloc.alloc_buffer'被预先分配时,'setup_malloc'的行为会有所不同。与'malloc'情况下返回'NULL'不同,它会将预先分配的缓冲区左移零,并返回当前可用的内存块。这个问题可能导致代码执行。
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9...
https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9...
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_vorbis.c 1.22 -
运行在以下环境
系统 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-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