169 Star 1K Fork 241

MindSpore / community

 / 详情

CVE-2020-35654

DONE
Bug-Report member
Opened this issue  
2022-06-16 15:05

一、漏洞信息
漏洞编号:CVE-2020-35654
漏洞归属组件:Pillow
漏洞归属的版本:2.0.0,7.1.2
CVSS V3.0分值:
BaseScore:8.8 High
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
漏洞简述:
In Pillow before 8.1.0, TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode.
漏洞公开时间:2021-01-12 17:15
漏洞创建时间:2022-06-16 15:05:52
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2020-35654
漏洞分析指导链接:
https://gitee.com/mindspore/community/blob/master/security/cve_issue_template.md
漏洞数据来源:
openBrain开源漏洞感知系统
漏洞补丁信息:

详情

二、漏洞分析结构反馈
影响性分析说明:
在 8.1.0 之前的 Pillow 中,TiffDecode 在解码精心制作的 YCbCr 文件时会出现基于堆的缓冲区溢出,因为在 RGBA 模式下与 LibTIFF 存在某些解释冲突。添加相关MindSpore安全说明:https://gitee.com/mindspore/community/blob/master/security/cve-report_en.md
MindSpore评分:
8.8
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
受影响版本排查(受影响/不受影响):
1.master:受影响
2.v1.3.0:受影响
3.v1.5.0-rc1:受影响
4.v1.6.0:受影响

Comments (14)

@fangzhou0329 ,@jxl ,@chenhaozhe ,@zhanghaibo ,@shenwei41 ,@yanghaoran ,@looop5 ,@kyang ,@chengang ,@mindspore_ding ,@ougongchang ,@zhunaipan
issue处理注意事项:
1. 当前issue受影响的分支提交pr时, 须在pr描述中填写当前issue编号进行关联, 否则无法关闭当前issue;
2. 模板内容需要填写完整, 无论是受影响或者不受影响都需要填写完整内容,未引入的分支不需要填写, 否则无法关闭当前issue;
3. 以下为模板中需要填写完整的内容, 请复制到评论区回复, 注: 内容的标题名称(影响性分析说明, MindSpore评分, 受影响版本排查(受影响/不受影响))不能省略,省略后cve-manager将无法正常解析填写内容.


影响性分析说明:

MindSpore评分: (评分和向量)

受影响版本排查(受影响/不受影响):
1.master:
2.v1.3.0:
3.v1.5.0-rc1:
4.v1.6.0:


issue处理具体操作请参考:
https://gitee.com/mindspore/community/blob/master/security/cve_issue_template.md
pr关联issue具体操作请参考:
https://gitee.com/help/articles/4142

mindspore-ci-bot createdQuestion
mindspore-ci-bot added
 
CVE/UNFIXED
label
Expand operation logs

Please assign maintainer to check this issue.
请为此issue分配处理人。
@mindspore-ci-bot

Please add labels (comp or sig), also you can visit https://gitee.com/mindspore/community/blob/master/sigs/dx/docs/labels.md to find more.
为了让代码尽快被审核,请您为Pull Request打上 组件(comp)或兴趣组(sig) 标签,打上标签的PR可直接推送给责任人进行审核。
更多的标签可以查看https://gitee.com/mindspore/community/blob/master/sigs/dx/docs/labels.md
以组件相关代码提交为例,如果你提交的是data组件代码,你可以这样评论:
//comp/data
当然你也可以邀请data SIG组来审核代码,可以这样写:
//sig/data
另外你还可以给这个PR标记类型,例如是bugfix或者是特性需求:
//kind/bug or //kind/feature
恭喜你,你已经学会了使用命令来打标签,接下来就在下面的评论里打上标签吧!

TommyLike set start time to 2022-06-16
TommyLike set deadline to 2022-06-30
TommyLike set priority to Main
fangzhou0329 assigned collaborator fangzhou0329
fangzhou0329 changed assignee from fangzhou0329 to shenwei41

影响性分析说明:
在 8.1.0 之前的 Pillow 中,TiffDecode 在解码精心制作的 YCbCr 文件时会出现基于堆的缓冲区溢出,因为在 RGBA 模式下与 LibTIFF 存在某些解释冲突。
添加相关MindSpore安全说明:
https://gitee.com/mindspore/community/blob/master/security/cve-report_en.md

MindSpore评分: (评分和向量)
BaseScore:8.8 High
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

受影响版本排查(受影响/不受影响):
1.master:受影响
2.v1.3.0:受影响
3.v1.5.0-rc1:受影响
4.v1.6.0:受影响

@shenwei41 经过 cve-manager 解析, 已分析的内容如下表所示:

状态 需分析 内容
已分析 1.影响性分析说明 在 8.1.0 之前的 Pillow 中,TiffDecode 在解码精心制作的 YCbCr 文件时会出现基于堆的缓冲区溢出,因为在 RGBA 模式下与 LibTIFF 存在某些解释冲突。添加相关MindSpore安全说明:https://gitee.com/mindspore/community/blob/master/security/cve-report_en.md
已分析 2.MindSporeScore 8.8
已分析 2.MindSporeVector AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
已分析 3.受影响版本排查 master:受影响,v1.3.0:受影响,v1.5.0-rc1:受影响,v1.6.0:受影响

请确认分析内容的准确性, 确认无误后, 您可以进行后续步骤, 否则您可以继续分析.

mindspore-ci-bot changed description
shenwei41 assigned collaborator shenwei41
shenwei41 changed assignee from shenwei41 to 冯林飞

Regression Test Report
Test Time & Version
Version: mindspore-master
Test Time:2022/06/17

Test Results
漏洞已添加到添加相关MindSpore安全说明,提示用户使用安全版本。
输入图片说明

Is it invalid or requirement or duplicated
no

冯林飞 changed issue state from TODO to DONE
mindspore-ci-bot changed issue state from DONE to TODO

@冯林飞
关闭issue前,需要将受影响的分支在合并pr时关联上当前issue编号: #I5CLP9:CVE-2020-35654
受影响分支: r1.3/r1.5/r1.6
具体操作参考: https://gitee.com/help/articles/4142

mindspore-ci-bot removed
 
CVE/UNFIXED
label
mindspore-ci-bot added
 
CVE/UNFIXED
label

影响性分析说明:
在 8.1.0 之前的 Pillow 中,TiffDecode 在解码精心制作的 YCbCr 文件时会出现基于堆的缓冲区溢出,因为在 RGBA 模式下与 LibTIFF 存在某些解释冲突。
添加相关MindSpore安全说明:
https://gitee.com/mindspore/community/blob/master/security/cve-report_en.md

MindSpore评分: (评分和向量)
BaseScore:8.8 High
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

受影响版本排查(受影响/不受影响):
1.master:受影响
2.v1.3.0:受影响
3.v1.5.0:受影响
4.v1.5.0-rc1:受影响
5.v1.6.0:受影响

mindspore-ci-bot changed description

@冯林飞 经过 cve-manager 解析, 已分析的内容如下表所示:

状态 需分析 内容
已分析 1.影响性分析说明 在 8.1.0 之前的 Pillow 中,TiffDecode 在解码精心制作的 YCbCr 文件时会出现基于堆的缓冲区溢出,因为在 RGBA 模式下与 LibTIFF 存在某些解释冲突。添加相关MindSpore安全说明:https://gitee.com/mindspore/community/blob/master/security/cve-report_en.md
已分析 2.MindSporeScore 8.8
已分析 2.MindSporeVector AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
已分析 3.受影响版本排查 master:受影响,v1.3.0:受影响,v1.5.0:受影响,v1.5.0-rc1:受影响,v1.6.0:受影响

请确认分析内容的准确性, 确认无误后, 您可以进行后续步骤, 否则您可以继续分析.

冯林飞 changed issue state from TODO to DONE
mindspore-ci-bot changed issue state from DONE to TODO

@冯林飞
关闭issue前,需要将受影响的分支在合并pr时关联上当前issue编号: #I5CLP9:CVE-2020-35654
受影响分支: r1.3/r1.5/r1.6
具体操作参考: https://gitee.com/help/articles/4142

mindspore-ci-bot removed
 
CVE/UNFIXED
label
mindspore-ci-bot added
 
CVE/UNFIXED
label

Regression Test Report
Test Time & Version
Version: mindspore-master
Test Time:2022/06/17

Test Results
漏洞已添加到添加相关MindSpore安全说明,提示用户使用安全版本。
各版本都已确认

Is it invalid or requirement or duplicated
no

影响性分析说明:
在 8.1.0 之前的 Pillow 中,TiffDecode 在解码精心制作的 YCbCr 文件时会出现基于堆的缓冲区溢出,因为在 RGBA 模式下与 LibTIFF 存在某些解释冲突。
添加相关MindSpore安全说明:
https://gitee.com/mindspore/community/blob/master/security/cve-report_en.md

MindSpore评分: (评分和向量)
BaseScore:8.8 High
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

受影响版本排查(受影响/不受影响):
1.master:受影响
2.v1.3.0:受影响
3.v1.5.0-rc1:受影响
4.v1.6.0:受影响

mindspore-ci-bot changed description

@冯林飞 经过 cve-manager 解析, 已分析的内容如下表所示:

状态 需分析 内容
已分析 1.影响性分析说明 在 8.1.0 之前的 Pillow 中,TiffDecode 在解码精心制作的 YCbCr 文件时会出现基于堆的缓冲区溢出,因为在 RGBA 模式下与 LibTIFF 存在某些解释冲突。添加相关MindSpore安全说明:https://gitee.com/mindspore/community/blob/master/security/cve-report_en.md
已分析 2.MindSporeScore 8.8
已分析 2.MindSporeVector AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
已分析 3.受影响版本排查 master:受影响,v1.3.0:受影响,v1.5.0-rc1:受影响,v1.6.0:受影响

请确认分析内容的准确性, 确认无误后, 您可以进行后续步骤, 否则您可以继续分析.

冯林飞 changed issue state from TODO to DONE

@冯林飞
关闭issue前,需要将受影响的分支在合并pr时关联上当前issue编号: #I5CLP9:CVE-2020-35654
受影响分支: r1.3/r1.5/r1.6
具体操作参考: https://gitee.com/help/articles/4142

mindspore-ci-bot changed issue state from DONE to TODO
mindspore-ci-bot removed
 
CVE/UNFIXED
label
mindspore-ci-bot added
 
CVE/UNFIXED
label
shenwei41 changed related repository from MindSpore/mindarmour to MindSpore/community
冯林飞 changed issue state from TODO to DONE
冯林飞 changed issue type from Question to Bug-Report

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
参与者(5)
5518576 mindspore ci 1587902139
1
https://gitee.com/mindspore/community.git
git@gitee.com:mindspore/community.git
mindspore
community
community

Search