登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
轻量养虾,开箱即用!低 Token + 稳定算力,Gitee & 模力方舟联合出品的 PocketClaw 正式开售!点击了解详情
代码拉取完成,页面将自动刷新
仓库状态说明
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
10
Star
0
Fork
11
src-openEuler
/
stb
关闭
代码
Issues
12
Pull Requests
1
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
开发画像分析
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
CVE-2023-45666
已完成
#I89S7V
CVE和安全问题
openeuler-ci-bot
拥有者
创建于
2023-10-21 10:09
一、漏洞信息 漏洞编号:[CVE-2023-45666](https://nvd.nist.gov/vuln/detail/CVE-2023-45666) 漏洞归属组件:[stb](https://gitee.com/src-openeuler/stb) 漏洞归属的版本:0.20220908git8b5f1f3 CVSS V3.0分值: BaseScore:9.8 Critical Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 漏洞简述: stb_image is a single file MIT licensed library for processing images. It may look like `stbi__load_gif_main` doesn’t give guarantees about the content of output value `*delays` upon failure. Although it sets `*delays` to zero at the beginning, it doesn’t do it in case the image is not recognized as GIF and a call to `stbi__load_gif_main_outofmem` only frees possibly allocated memory in `*delays` without resetting it to zero. Thus it would be fair to say the caller of `stbi__load_gif_main` is responsible to free the allocated memory in `*delays` only if `stbi__load_gif_main` returns a non null value. However at the same time the function may return null value, but fail to free the memory in `*delays` if internally `stbi__convert_format` is called and fails. Thus the issue may lead to a memory leak if the caller chooses to free `delays` only when `stbi__load_gif_main` didn’t fail or to a double-free if the `delays` is always freed 漏洞公开时间:2023-10-21 00:15:09 漏洞创建时间:2023-10-21 10:09:29 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2023-45666 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | security-advisories.github.com | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6957 | | | security-advisories.github.com | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6962-L7045 | | | security-advisories.github.com | https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NMXKOKPP4BKTNUTF5KSRDQAWOUILQZNO/ | | | security-advisories.github.com | https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QVABVF4GEM6BYD5L4L64RCRSXUHY6LGN/ | | | security-advisories.github.com | https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UVQ7ONFH5GWLMXYEAJG32A3EUKUCEVCR/ | | | security-advisories.github.com | https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/ | | | redhat_bugzilla | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6962-L7045 | https://bugzilla.redhat.com/show_bug.cgi?id=2246109 | | redhat_bugzilla | https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/ | https://bugzilla.redhat.com/show_bug.cgi?id=2246109 | | redhat_bugzilla | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6957 | https://bugzilla.redhat.com/show_bug.cgi?id=2246109 | | cve_search | | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6962-L7045 | | cve_search | | https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/ | | cve_search | | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6957 | | cve_search | | https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UVQ7ONFH5GWLMXYEAJG32A3EUKUCEVCR/ | | cve_search | | https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QVABVF4GEM6BYD5L4L64RCRSXUHY6LGN/ | | cve_search | | https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NMXKOKPP4BKTNUTF5KSRDQAWOUILQZNO/ | | snyk | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6957 | https://security.snyk.io/vuln/SNYK-UNMANAGED-NOTHINGSSTB-6026539 | | snyk | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6962-L7045 | https://security.snyk.io/vuln/SNYK-UNMANAGED-NOTHINGSSTB-6026539 | | security-advisories.github.com | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6957 | | | security-advisories.github.com | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6962-L7045 | | | security-advisories.github.com | https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/ | | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> 无 </details> 二、漏洞分析结构反馈 影响性分析说明: stb_image是麻省理工学院授权的用于处理图像的单文件库。看起来stbi__load_gif_main没有保证输出值*的内容在失败时延迟。尽管它在一开始就将*延迟设置为零,但在图像未被识别为GIF的情况下不会这样做,并且对stbi__load_GIF_main_outofmem的调用只释放*延迟中可能分配的内存,而不会将其重置为零。因此,可以公平地说,只有当stbi__load_gif_main返回非null值时,stbi__load_gif_man的调用方才有责任在*延迟中释放分配的内存。然而,同时,如果内部调用stbi__convert_format并失败,函数可能会返回null值,但无法在*延迟中释放内存。因此,如果调用方选择仅在stbi__load_gif_main没有失败时释放延迟,或者如果总是释放延迟,则该问题可能导致内存泄漏。 openEuler评分: 9.8 Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 受影响版本排查(受影响/不受影响): 1.master(0.20220908git8b5f1f3):受影响 2.openEuler-22.03-LTS-Next(0.20220908git8b5f1f3):受影响 3.openEuler-22.03-LTS-SP2(0.20220908git8b5f1f3):受影响 4.openEuler-22.03-LTS-SP3(0.20220908git8b5f1f3):受影响 5.openEuler-20.03-LTS-SP1:不受影响 6.openEuler-20.03-LTS-SP4:不受影响 7.openEuler-22.03-LTS:不受影响 8.openEuler-22.03-LTS-SP1:不受影响 修复是否涉及abi变化(是/否): 1.master(0.20220908git8b5f1f3):否 2.openEuler-22.03-LTS-Next(0.20220908git8b5f1f3):否 3.openEuler-22.03-LTS-SP2(0.20220908git8b5f1f3):否 4.openEuler-22.03-LTS-SP3(0.20220908git8b5f1f3):否 5.openEuler-20.03-LTS-SP1:否 6.openEuler-20.03-LTS-SP4:否 7.openEuler-22.03-LTS:否 8.openEuler-22.03-LTS-SP1:否 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2024-1263
一、漏洞信息 漏洞编号:[CVE-2023-45666](https://nvd.nist.gov/vuln/detail/CVE-2023-45666) 漏洞归属组件:[stb](https://gitee.com/src-openeuler/stb) 漏洞归属的版本:0.20220908git8b5f1f3 CVSS V3.0分值: BaseScore:9.8 Critical Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 漏洞简述: stb_image is a single file MIT licensed library for processing images. It may look like `stbi__load_gif_main` doesn’t give guarantees about the content of output value `*delays` upon failure. Although it sets `*delays` to zero at the beginning, it doesn’t do it in case the image is not recognized as GIF and a call to `stbi__load_gif_main_outofmem` only frees possibly allocated memory in `*delays` without resetting it to zero. Thus it would be fair to say the caller of `stbi__load_gif_main` is responsible to free the allocated memory in `*delays` only if `stbi__load_gif_main` returns a non null value. However at the same time the function may return null value, but fail to free the memory in `*delays` if internally `stbi__convert_format` is called and fails. Thus the issue may lead to a memory leak if the caller chooses to free `delays` only when `stbi__load_gif_main` didn’t fail or to a double-free if the `delays` is always freed 漏洞公开时间:2023-10-21 00:15:09 漏洞创建时间:2023-10-21 10:09:29 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2023-45666 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | security-advisories.github.com | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6957 | | | security-advisories.github.com | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6962-L7045 | | | security-advisories.github.com | https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NMXKOKPP4BKTNUTF5KSRDQAWOUILQZNO/ | | | security-advisories.github.com | https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QVABVF4GEM6BYD5L4L64RCRSXUHY6LGN/ | | | security-advisories.github.com | https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UVQ7ONFH5GWLMXYEAJG32A3EUKUCEVCR/ | | | security-advisories.github.com | https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/ | | | redhat_bugzilla | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6962-L7045 | https://bugzilla.redhat.com/show_bug.cgi?id=2246109 | | redhat_bugzilla | https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/ | https://bugzilla.redhat.com/show_bug.cgi?id=2246109 | | redhat_bugzilla | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6957 | https://bugzilla.redhat.com/show_bug.cgi?id=2246109 | | cve_search | | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6962-L7045 | | cve_search | | https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/ | | cve_search | | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6957 | | cve_search | | https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UVQ7ONFH5GWLMXYEAJG32A3EUKUCEVCR/ | | cve_search | | https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QVABVF4GEM6BYD5L4L64RCRSXUHY6LGN/ | | cve_search | | https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NMXKOKPP4BKTNUTF5KSRDQAWOUILQZNO/ | | snyk | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6957 | https://security.snyk.io/vuln/SNYK-UNMANAGED-NOTHINGSSTB-6026539 | | snyk | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6962-L7045 | https://security.snyk.io/vuln/SNYK-UNMANAGED-NOTHINGSSTB-6026539 | | security-advisories.github.com | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6957 | | | security-advisories.github.com | https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6962-L7045 | | | security-advisories.github.com | https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/ | | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> 无 </details> 二、漏洞分析结构反馈 影响性分析说明: stb_image是麻省理工学院授权的用于处理图像的单文件库。看起来stbi__load_gif_main没有保证输出值*的内容在失败时延迟。尽管它在一开始就将*延迟设置为零,但在图像未被识别为GIF的情况下不会这样做,并且对stbi__load_GIF_main_outofmem的调用只释放*延迟中可能分配的内存,而不会将其重置为零。因此,可以公平地说,只有当stbi__load_gif_main返回非null值时,stbi__load_gif_man的调用方才有责任在*延迟中释放分配的内存。然而,同时,如果内部调用stbi__convert_format并失败,函数可能会返回null值,但无法在*延迟中释放内存。因此,如果调用方选择仅在stbi__load_gif_main没有失败时释放延迟,或者如果总是释放延迟,则该问题可能导致内存泄漏。 openEuler评分: 9.8 Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 受影响版本排查(受影响/不受影响): 1.master(0.20220908git8b5f1f3):受影响 2.openEuler-22.03-LTS-Next(0.20220908git8b5f1f3):受影响 3.openEuler-22.03-LTS-SP2(0.20220908git8b5f1f3):受影响 4.openEuler-22.03-LTS-SP3(0.20220908git8b5f1f3):受影响 5.openEuler-20.03-LTS-SP1:不受影响 6.openEuler-20.03-LTS-SP4:不受影响 7.openEuler-22.03-LTS:不受影响 8.openEuler-22.03-LTS-SP1:不受影响 修复是否涉及abi变化(是/否): 1.master(0.20220908git8b5f1f3):否 2.openEuler-22.03-LTS-Next(0.20220908git8b5f1f3):否 3.openEuler-22.03-LTS-SP2(0.20220908git8b5f1f3):否 4.openEuler-22.03-LTS-SP3(0.20220908git8b5f1f3):否 5.openEuler-20.03-LTS-SP1:否 6.openEuler-20.03-LTS-SP4:否 7.openEuler-22.03-LTS:否 8.openEuler-22.03-LTS-SP1:否 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2024-1263
评论 (
7
)
登录
后才可以发表评论
状态
已完成
待办的
已挂起
进行中
已完成
已拒绝
负责人
未设置
handsome_feng
handsome_feng
负责人
协作者
+负责人
+协作者
标签
CVE/FIXED
sig/sig-UKUI
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (
-
)
标签 (
-
)
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(2)
1
https://gitee.com/src-openeuler/stb.git
git@gitee.com:src-openeuler/stb.git
src-openeuler
stb
stb
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册