已关闭
CVE-2023-6395 #2
AtomGit-Bot创建于  2024年2月9日关闭于  11 天前
AtomGit-Bot
2024年2月9日 创建

一、漏洞信息
漏洞编号:CVE-2023-6395
漏洞归属组件:python-templated-dictionary
漏洞归属的版本:1.2
CVSS评分:
BaseScore:9.8 Critical
Vector:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
漏洞简述:
The Mock software contains a vulnerability wherein an attacker could potentially exploit privilege escalation, enabling the execution of arbitrary code with root user privileges. This weakness stems from the absence of proper sandboxing during the expansion and execution of Jinja2 templates, which may be included in certain configuration parameters. While the Mock documentation advises treating users added to the mock group as privileged, certain build systems invoking mock on behalf of users might inadvertently permit less privileged users to define configuration tags. These tags could then be passed as parameters to mock during execution, potentially leading to the utilization of Jinja2 templates for remote privilege escalation and the execution of arbitrary code as the root user on the build server.
漏洞公开时间:2024-01-16 23:15:08
漏洞创建时间:2024-02-09 04:45:10
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2023-6395

更多参考(点击展开)
参考来源 参考链接 来源链接
secalert.redhat.com http://www.openwall.com/lists/oss-security/2024/01/16/1
secalert.redhat.com http://www.openwall.com/lists/oss-security/2024/01/16/3
secalert.redhat.com https://access.redhat.com/security/cve/CVE-2023-6395
secalert.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2252206
secalert.redhat.com https://github.com/xsuchy/templated-dictionary/commit/0740bd0ca8d487301881541028977d120f8b8933
secalert.redhat.com https://github.com/xsuchy/templated-dictionary/commit/bcd90f0dafa365575c4b101e6f5d98c4ef4e4b69
secalert.redhat.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/62SP2BJC2AFLFJJAEHPGZ3ZINTBTI7AN/
secalert.redhat.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NBFYREAJH4T7GXXQZ4GJEREN4Q3AHS3K/
redhat_bugzilla https://github.com/xsuchy/templated-dictionary/commit/bcd90f0dafa365575c4b101e6f5d98c4ef4e4b69 https://bugzilla.redhat.com/show_bug.cgi?id=2252206
redhat_bugzilla https://github.com/xsuchy/templated-dictionary/commit/0740bd0ca8d487301881541028977d120f8b8933 https://bugzilla.redhat.com/show_bug.cgi?id=2252206
ubuntu https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-6395 https://ubuntu.com/security/CVE-2023-6395
ubuntu https://www.openwall.com/lists/oss-security/2024/01/16/1 https://ubuntu.com/security/CVE-2023-6395
ubuntu https://access.redhat.com/security/cve/CVE-2023-6395 https://ubuntu.com/security/CVE-2023-6395
ubuntu https://bugzilla.redhat.com/show_bug.cgi?id=2252206 https://ubuntu.com/security/CVE-2023-6395
ubuntu https://github.com/xsuchy/templated-dictionary/commit/0740bd0ca8d487301881541028977d120f8b8933 https://ubuntu.com/security/CVE-2023-6395
ubuntu https://github.com/xsuchy/templated-dictionary/commit/bcd90f0dafa365575c4b101e6f5d98c4ef4e4b69 https://ubuntu.com/security/CVE-2023-6395
ubuntu http://www.openwall.com/lists/oss-security/2024/01/16/1 https://ubuntu.com/security/CVE-2023-6395
ubuntu http://www.openwall.com/lists/oss-security/2024/01/16/3 https://ubuntu.com/security/CVE-2023-6395
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2023-6395 https://ubuntu.com/security/CVE-2023-6395
ubuntu https://launchpad.net/bugs/cve/CVE-2023-6395 https://ubuntu.com/security/CVE-2023-6395
ubuntu https://security-tracker.debian.org/tracker/CVE-2023-6395 https://ubuntu.com/security/CVE-2023-6395
debian https://security-tracker.debian.org/tracker/CVE-2023-6395
anolis https://anas.openanolis.cn/cves/detail/CVE-2023-6395
cve_search https://access.redhat.com/security/cve/CVE-2023-6395
cve_search https://bugzilla.redhat.com/show_bug.cgi?id=2252206
cve_search https://github.com/xsuchy/templated-dictionary/commit/0740bd0ca8d487301881541028977d120f8b8933
cve_search https://github.com/xsuchy/templated-dictionary/commit/bcd90f0dafa365575c4b101e6f5d98c4ef4e4b69
cve_search http://www.openwall.com/lists/oss-security/2024/01/16/1
cve_search http://www.openwall.com/lists/oss-security/2024/01/16/3
cve_search https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NBFYREAJH4T7GXXQZ4GJEREN4Q3AHS3K/
amazon_linux_explore https://access.redhat.com/security/cve/CVE-2023-6395 https://explore.alas.aws.amazon.com/CVE-2023-6395.html
amazon_linux_explore https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-6395 https://explore.alas.aws.amazon.com/CVE-2023-6395.html
snyk https://github.com/xsuchy/templated-dictionary/commit/0740bd0ca8d487301881541028977d120f8b8933 https://security.snyk.io/vuln/SNYK-PYTHON-TEMPLATEDDICTIONARY-6160031
snyk https://github.com/xsuchy/templated-dictionary/commit/bcd90f0dafa365575c4b101e6f5d98c4ef4e4b69 https://security.snyk.io/vuln/SNYK-PYTHON-TEMPLATEDDICTIONARY-6160031
snyk https://seclists.org/oss-sec/2024/q1/24 https://security.snyk.io/vuln/SNYK-PYTHON-TEMPLATEDDICTIONARY-6160031
snyk https://bugzilla.redhat.com/show_bug.cgi?id=2252206 https://security.snyk.io/vuln/SNYK-PYTHON-TEMPLATEDDICTIONARY-6160031
snyk https://github.com/rpm-software-management/mock/commit/426d973c2917a18303eea243bdf496ff6942bd27 https://security.snyk.io/vuln/SNYK-PYTHON-TEMPLATEDDICTIONARY-6160031

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

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/xsuchy/templated-dictionary/commit/0740bd0ca8d487301881541028977d120f8b8933 secalert.redhat.com
https://github.com/xsuchy/templated-dictionary/commit/bcd90f0dafa365575c4b101e6f5d98c4ef4e4b69 secalert.redhat.com
https://github.com/xsuchy/templated-dictionary/commit/bcd90f0dafa365575c4b101e6f5d98c4ef4e4b69 redhat_bugzilla
https://github.com/xsuchy/templated-dictionary/commit/0740bd0ca8d487301881541028977d120f8b8933 redhat_bugzilla
https://github.com/xsuchy/templated-dictionary/commit/0740bd0ca8d487301881541028977d120f8b8933 ubuntu
https://github.com/xsuchy/templated-dictionary/commit/bcd90f0dafa365575c4b101e6f5d98c4ef4e4b69 ubuntu
https://github.com/xsuchy/templated-dictionary/commit/0740bd0ca8d487301881541028977d120f8b8933 snyk
https://github.com/xsuchy/templated-dictionary/commit/bcd90f0dafa365575c4b101e6f5d98c4ef4e4b69 snyk
https://github.com/rpm-software-management/mock/commit/426d973c2917a18303eea243bdf496ff6942bd27 snyk
http://www.openwall.com/lists/oss-security/2024/01/16/1 nvd
http://www.openwall.com/lists/oss-security/2024/01/16/3 nvd
https://access.redhat.com/security/cve/CVE-2023-6395 nvd
https://bugzilla.redhat.com/show_bug.cgi?id=2252206 nvd
https://github.com/xsuchy/templated-dictionary/commit/0740bd0ca8d487301881541028977d120f8b8933 nvd
https://github.com/xsuchy/templated-dictionary/commit/bcd90f0dafa365575c4b101e6f5d98c4ef4e4b69 nvd
https://github.com/xsuchy/templated-dictionary/commit/bcd90f0dafa365575c4b101e6f5d98c4ef4e4b69 debian
https://github.com/xsuchy/templated-dictionary/commit/0740bd0ca8d487301881541028977d120f8b8933 debian

二、漏洞分析结构反馈
影响性分析说明:
The Mock software contains a vulnerability wherein an attacker could potentially exploit privilege e...
openEuler评分:
9.8
Vector:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
受影响版本排查(受影响/不受影响):
1.master(1.2):受影响
2.openEuler-20.03-LTS-SP1:不受影响
3.openEuler-20.03-LTS-SP4:不受影响
4.openEuler-22.03-LTS:不受影响
5.openEuler-22.03-LTS-Next:不受影响
6.openEuler-22.03-LTS-SP1:不受影响
7.openEuler-22.03-LTS-SP2:不受影响
8.openEuler-22.03-LTS-SP3:不受影响
9.openEuler-24.03-LTS(1.2):受影响
10.openEuler-24.03-LTS-Next(1.2):受影响
11.openEuler-22.03-LTS-SP4:不受影响
12.openEuler-24.03-LTS-SP1(1.2):受影响
13.openEuler-24.03-LTS-SP3(1.2):受影响
14.openEuler-24.03-LTS-SP4(1.2):受影响

修复是否涉及abi变化(是/否):
1.master(1.2):否
2.openEuler-20.03-LTS-SP1:否
3.openEuler-20.03-LTS-SP4:否
4.openEuler-22.03-LTS:否
5.openEuler-22.03-LTS-Next:否
6.openEuler-22.03-LTS-SP1:否
7.openEuler-22.03-LTS-SP2:否
8.openEuler-22.03-LTS-SP3:否
9.openEuler-24.03-LTS(1.2):否
10.openEuler-24.03-LTS-Next(1.2):否
11.openEuler-22.03-LTS-SP4:否
12.openEuler-24.03-LTS-SP1(1.2):否
13.openEuler-24.03-LTS-SP3(1.2):否
14.openEuler-24.03-LTS-SP4(1.2):否

原因说明:
1.master(1.2):正常修复
2.openEuler-20.03-LTS-SP4:不受影响-组件不存在
3.openEuler-22.03-LTS-SP4:不受影响-组件不存在
4.openEuler-24.03-LTS-Next(1.2):正常修复
5.openEuler-24.03-LTS-SP1(1.2):正常修复
6.openEuler-24.03-LTS-SP3(1.2):正常修复
7.openEuler-24.03-LTS-SP4(1.2):正常修复

likedislike
AAtomGit-Bot
2024年2月9日 添加了   CVE/UNFIXED 标签
AAtomGit-Bot
2024年2月9日 创建了CVE和安全问题
openeuler-ci-bot
openeuler-ci-bot成员
2024年2月9日 评论:

Hi openMajun_admin, 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: ecopkg, and any of the maintainers: @biannm , @dillon_chen , @georgecao , @hjimmy , @solarhu , @shinwell_hu , @pangbanme , @Charlie_li , @stonefly128 , @jianminw , @cellfaint , @vonhust , @wu_fengguang , @myeuler , @HelloWorld_lvcongqing , @relue0z , @xiexiuqi , @cf-zhao , @huyd12 , @juntianlinux , @zhujianwei001 , @openeuler-ci-bot

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2024年2月9日 评论:

@biannm ,@dillon_chen ,@georgecao ,@hjimmy ,@solarhu ,@shinwell_hu ,@pangbanme ,@Charlie_li ,@stonefly128 ,@jianminw ,@cellfaint ,@vonhust ,@wu_fengguang ,@myeuler ,@HelloWorld_lvcongqing ,@relue0z ,@xiexiuqi ,@cf-zhao ,@huyd12 ,@juntianlinux
issue处理注意事项:
1. 当前issue受影响的分支提交pr时, 须在pr描述中填写当前issue编号进行关联, 否则无法关闭当前issue;
2. 模板内容需要填写完整, 无论是受影响或者不受影响都需要填写完整内容,未引入的分支不需要填写, 否则无法关闭当前issue;
3. 以下为模板中需要填写完整的内容, 请复制到评论区回复, 注: 内容的标题名称(影响性分析说明, openEuler评分, 受影响版本排查(受影响/不受影响), 修复是否涉及abi变化(是/否))不能省略,省略后cve-manager将无法正常解析填写内容.


影响性分析说明:

openEuler评分: (评分和向量)

受影响版本排查(受影响/不受影响):
1.master(1.2):
2.openEuler-20.03-LTS-SP1:
3.openEuler-20.03-LTS-SP4:
4.openEuler-22.03-LTS:
5.openEuler-22.03-LTS-Next:
6.openEuler-22.03-LTS-SP1:
7.openEuler-22.03-LTS-SP2:
8.openEuler-22.03-LTS-SP3:

修复是否涉及abi变化(是/否):
1.master(1.2):
2.openEuler-20.03-LTS-SP1:
3.openEuler-20.03-LTS-SP4:
4.openEuler-22.03-LTS:
5.openEuler-22.03-LTS-Next:
6.openEuler-22.03-LTS-SP1:
7.openEuler-22.03-LTS-SP2:
8.openEuler-22.03-LTS-SP3:


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

likedislike
openeuler-ci-botopeneuler-ci-bot成员
2024年2月9日 添加了   sig/ecopkg 标签
此处折叠了56条消息 查看更多
openeuler-ci-bot
openeuler-ci-bot成员
11 天前 评论:

经过cve-manager解析,所有PR均已合入

likedislike
openeuler-ci-botopeneuler-ci-bot成员
11 天前 issue状态由 待办的 改变为 已完成
openeuler-ci-botopeneuler-ci-bot成员
11 天前 关闭了 issue
openeuler-ci-bot
openeuler-ci-bot成员
11 天前 评论:

经过cve-manager解析,所有PR均已合入

likedislike
openeuler-ci-botopeneuler-ci-bot成员
11 天前 添加了label:CVE/FIXED