15 Star 0 Fork 47

src-openEuler/bash

CVE-2022-3715

已完成
CVE和安全问题 拥有者
创建于  
2022-10-27 19:07

一、漏洞信息
漏洞编号:CVE-2022-3715
漏洞归属组件:bash
漏洞归属的版本:5.0,5.1,5.1.8
CVSS V2.0分值:
BaseScore:9.8 Critical
Vector:CVSS:2.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
漏洞简述:
A flaw was found in the bash package, where a heap-buffer overflow can occur in valid parameter_transform. This issue may lead to memory problems.
漏洞公开时间:2023-01-05 23:15:00
漏洞创建时间:2022-10-27 19:07:20
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2022-3715

更多参考(点击展开)
参考来源 参考链接 来源链接
nvd https://bugzilla.redhat.com/show_bug.cgi?id=2126720
redhat https://access.redhat.com/security/cve/CVE-2022-3715
suse_bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2126720 https://bugzilla.suse.com/show_bug.cgi?id=1204787
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-3715 https://bugzilla.suse.com/show_bug.cgi?id=1204787
redhat_bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2122331 https://bugzilla.redhat.com/show_bug.cgi?id=2126720
redhat_bugzilla https://lists.gnu.org/archive/html/bug-bash/2022-08/msg00147.html https://bugzilla.redhat.com/show_bug.cgi?id=2126720
ubuntu https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3715 https://ubuntu.com/security/CVE-2022-3715
ubuntu https://access.redhat.com/security/cve/CVE-2022-3715 https://ubuntu.com/security/CVE-2022-3715
ubuntu https://lists.gnu.org/archive/html/bug-bash/2022-08/msg00147.html https://ubuntu.com/security/CVE-2022-3715
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2022-3715 https://ubuntu.com/security/CVE-2022-3715
ubuntu https://launchpad.net/bugs/cve/CVE-2022-3715 https://ubuntu.com/security/CVE-2022-3715
ubuntu https://security-tracker.debian.org/tracker/CVE-2022-3715 https://ubuntu.com/security/CVE-2022-3715
ubuntu https://bugzilla.redhat.com/show_bug.cgi?id=2122331 (private) https://ubuntu.com/security/CVE-2022-3715
ubuntu https://bugzilla.suse.com/show_bug.cgi?id=1204787 https://ubuntu.com/security/CVE-2022-3715
debian https://security-tracker.debian.org/tracker/CVE-2022-3715
cve_search https://bugzilla.redhat.com/show_bug.cgi?id=2126720
nvd https://bugzilla.redhat.com/show_bug.cgi?id=2126720
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2257.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2264.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2284.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2285.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2286.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2287.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2288.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2289.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2304.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2343.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2344.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2345.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2816.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2817.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-2819.html https://alas.aws.amazon.com/ALAS-2022-1639.html
amazon_linux https://alas.aws.amazon.com/cve/html/CVE-2022-3037.html https://alas.aws.amazon.com/ALAS-2022-1639.html
suse_bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2126720
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-3715
redhat_bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2122331
redhat_bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2126720

漏洞分析指导链接:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
漏洞数据来源:
openBrain开源漏洞感知系统
漏洞补丁信息:

详情(点击展开)

二、漏洞分析结构反馈
影响性分析说明:
A heap-buffer-overflow in valid_parameter_transform function.The valid_parameter_transform function is only present since bash version 5.1.
openEuler评分:
4.0
Vector:CVSS:2.0/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:H
受影响版本排查(受影响/不受影响):
1.openEuler-22.03-LTS(5.1.8):受影响
2.openEuler-20.03-LTS-SP1(5.0):不受影响
3.openEuler-20.03-LTS-SP3(5.0):不受影响

修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1(5.0):否
2.openEuler-20.03-LTS-SP3(5.0):否
3.openEuler-22.03-LTS(5.1.8):否

三、漏洞修复
安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2022-2100

评论 (17)

openeuler-ci-bot 创建了CVE和安全问题 3年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
3年前
展开全部操作日志

Hi openeuler-ci-bot, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Base-service, and any of the maintainers: @licihua , @xiezhipeng1 , @overweight , @zhujianwei001 , @openeuler-basic , @licunlong , @xujing99 , @jiayi0118 , @ship_harbour

@licihua ,@xiezhipeng1 ,@overweight ,@zhujianwei001 ,@openeuler-basic ,@licunlong ,@xujing99 ,@jiayi0118 ,@ship_harbour
issue处理注意事项:
1. 当前issue受影响的分支提交pr时, 须在pr描述中填写当前issue编号进行关联, 否则无法关闭当前issue;
2. 模板内容需要填写完整, 无论是受影响或者不受影响都需要填写完整内容,未引入的分支不需要填写, 否则无法关闭当前issue;
3. 以下为模板中需要填写完整的内容, 请复制到评论区回复, 注: 内容的标题名称(影响性分析说明, openEuler评分, 受影响版本排查(受影响/不受影响), 修复是否涉及abi变化(是/否))不能省略,省略后cve-manager将无法正常解析填写内容.


影响性分析说明:

openEuler评分: (评分和向量)

受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(5.0):
2.openEuler-20.03-LTS-SP3(5.0):
3.openEuler-22.03-LTS(5.1.8):

修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1(5.0):
2.openEuler-20.03-LTS-SP3(5.0):
3.openEuler-22.03-LTS(5.1.8):


issue处理具体操作请参考:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
pr关联issue具体操作请参考:
https://gitee.com/help/articles/4142

openeuler-ci-bot 添加了
 
sig/Base-service
标签
3年前
参考网址 关联pr 状态 补丁链接
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-3715
https://www.opencve.io/cve/CVE-2022-3715
https://nvd.nist.gov/vuln/detail/CVE-2022-3715
https://security-tracker.debian.org/tracker/CVE-2022-3715
https://ubuntu.com/security/CVE-2022-3715
http://www.cnnvd.org.cn/web/vulnerability/queryLds.tag?qcvCnnvdid=CVE-2022-3715

说明:抱歉,当前工具暂未找到推荐补丁,请人工查找或者之后评论'/find-patch'尝试再次查找。
若人工查找到补丁,烦请在此issue下评论 '/report-patch 参考网址 补丁链接1,补丁链接2' 便于我们不断优化工具,不胜感激。
如 /report-patch https://security-tracker.debian.org/tracker/CVE-2021-3997 https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1

openeuler-ci-bot 修改了描述 3年前
openeuler-ci-bot 修改了描述 3年前
openeuler-ci-bot 修改了描述 3年前

该CVE目前暂未公布详细的信息,暂进行挂起处理

Linux_zhang 任务状态待办的 修改为已挂起 3年前

CVE原因:函数valid_parameter_transform入参为一个char类型的指针,即字符串,字符串长度在可能为1或者2。valid_parameter_transform函数中判断char[1]是否为真,当字符串长度为1时,char[1]为野指针,在特殊情况下会引起段错误或者造成业务逻辑错误。

复现手段:

创建脚本test.sh
declare -p foo
V=42
echo ${V@}
多次大量执行bash test.sh,查看是否会失败(难以复现失败的情况)

suse社区关于这个CVE的讨论:
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2022-3715

这个是GNU的bash的bug讨论:
https://lists.gnu.org/archive/html/bug-bash/2022-08/msg00147.html

bash已经在5.2版本修复了这个问题:
https://git.savannah.gnu.org/cgit/bash.git/commit/?id=9cef6d01181525de119832d2b6a925899cdec08e

@wangyuhang27 当前issue状态为: 已挂起,请先修改issue状态, 否则评论无法被识别.

suse社区关于这个CVE的讨论:
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2022-3715

这个是GNU的bash的bug讨论:
https://lists.gnu.org/archive/html/bug-bash/2022-08/msg00147.html

讨论中涉及修改点 不在同一个地方 这个是因为版本差异? 还是因为修复上存在争议?
@wangyuhang27

我个人理解是两个方案都行的通,只要避免执行xform[1]就ok,这两个方案的结果也都是一致的

@zhangruifang2020 当前issue状态为: 已挂起,请先修改issue状态, 否则评论无法被识别.

@ren_chunhui 当前issue状态为: 已挂起,请先修改issue状态, 否则评论无法被识别.

Mingtai 任务状态已挂起 修改为待办的 3年前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
3年前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
3年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
3年前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
3年前
openeuler-ci-bot 修改了描述 3年前
wangyuhang 通过合并 Pull Request !75: fix CVE-2022-3715任务状态待办的 修改为已完成 3年前
openeuler-ci-bot 任务状态已完成 修改为待办的 3年前

@wangyuhang27 请确认分支: openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3,openEuler-22.03-LTS 受影响/不受影响.
请确认分支信息是否填写完整,否则将无法关闭当前issue.

openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
3年前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
3年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
3年前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
3年前
openeuler-sync-bot 通过合并 Pull Request !76: [sync] PR-75: fix CVE-2022-3715任务状态待办的 修改为已完成 3年前
openeuler-ci-bot 任务状态已完成 修改为待办的 3年前

@openeuler-sync-bot 请确认分支: openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3,openEuler-22.03-LTS 受影响/不受影响.
请确认分支信息是否填写完整,否则将无法关闭当前issue.

openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
3年前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
3年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
3年前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
3年前
openeuler-sync-bot 通过合并 Pull Request !77: [sync] PR-75: fix CVE-2022-3715任务状态待办的 修改为已完成 3年前
openeuler-ci-bot 任务状态已完成 修改为待办的 3年前

@openeuler-sync-bot 请确认分支: openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3,openEuler-22.03-LTS 受影响/不受影响.
请确认分支信息是否填写完整,否则将无法关闭当前issue.

openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
3年前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
3年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
3年前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
3年前

影响性分析说明:

openEuler评分: (评分和向量)

受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(5.0):不受影响
2.openEuler-20.03-LTS-SP3(5.0):不受影响
3.openEuler-22.03-LTS(5.1.8):受影响

修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1(5.0):否
2.openEuler-20.03-LTS-SP3(5.0):否
3.openEuler-22.03-LTS(5.1.8):否

@wangyuhang27 1.影响性分析说明=> 没有填写或按正确格式填写

openeuler-ci-bot 修改了描述 3年前

影响性分析说明:
A heap-buffer-overflow in valid_parameter_transform function.The valid_parameter_transform function is only present since bash version 5.1.

openEuler评分: (评分和向量)
4
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:H

受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(5.0):不受影响
2.openEuler-20.03-LTS-SP3(5.0):不受影响
3.openEuler-22.03-LTS(5.1.8):受影响

修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1(5.0):否
2.openEuler-20.03-LTS-SP3(5.0):否
3.openEuler-22.03-LTS(5.1.8):否

openeuler-ci-bot 修改了描述 3年前

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

状态 需分析 内容
已分析 1.影响性分析说明 A heap-buffer-overflow in valid_parameter_transform function.The valid_parameter_transform function is only present since bash version 5.1.
已分析 2.openEulerScore 4
已分析 2.openEulerVector AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:H
已分析 3.受影响版本排查 openEuler-22.03-LTS:受影响,openEuler-20.03-LTS-SP1:不受影响,openEuler-20.03-LTS-SP3:不受影响
已分析 4.修复是否涉及abi变化 openEuler-20.03-LTS-SP1:否,openEuler-20.03-LTS-SP3:否,openEuler-22.03-LTS:否

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

Mingtai 任务状态待办的 修改为已完成 3年前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
3年前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
3年前
openeuler-ci-bot 添加了
 
CVE/FIXED
标签
3年前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
3年前
openeuler-ci-bot 修改了描述 3年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 计划开始日期设置为2022-10-27 2年前
openeuler-ci-bot 计划截止日期设置为2022-11-26 2年前
openeuler-ci-bot 优先级设置为严重 2年前
openeuler-ci-bot 移除了
 
CVE/FIXED
标签
1年前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
1年前
openeuler-ci-bot 添加了
 
CVE/UNAFFECTED
标签
1年前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
1年前

登录 后才可以发表评论

状态
负责人
项目
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
预计工期 (小时)
开始日期   -   截止日期
-
置顶选项
优先级
里程碑
分支
参与者(4)
5329419 openeuler ci bot 1632792936 Linux_zhang-Linux_zhang2024 ch_r-ren_chunhui 10350586 wangyuhang27 1686623597
1
https://gitee.com/src-openeuler/bash.git
git@gitee.com:src-openeuler/bash.git
src-openeuler
bash
bash

搜索帮助