登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
代码拉取完成,页面将自动刷新
仓库状态说明
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
6
Star
0
Fork
19
src-openEuler
/
gradle
关闭
代码
Issues
6
Pull Requests
2
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
CVE-2021-32751
进行中
#I43FFH
CVE和安全问题
openeuler-ci-bot
拥有者
创建于
2021-08-02 10:41
一、漏洞信息 漏洞编号:[CVE-2021-32751](https://nvd.nist.gov/vuln/detail/CVE-2021-32751) 漏洞归属组件:[gradle](https://gitee.com/src-openeuler/gradle) 漏洞归属的版本:4.4.1 CVSS V3.0分值: BaseScore:7.5 High Vector:CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H 漏洞简述: Gradle is a build tool with a focus on build automation. In versions prior to 7.2, start scripts generated by the `application` plugin and the `gradlew` script are both vulnerable to arbitrary code execution when an attacker is able to change environment variables for the user running the script. This may impact those who use `gradlew` on Unix-like systems or use the scripts generated by Gradle in thieir application on Unix-like systems. For this vulnerability to be exploitable, an attacker needs to be able to set the value of particular environment variables and have those environment variables be seen by the vulnerable scripts. This issue has been patched in Gradle 7.2 by removing the use of `eval` and requiring the use of the `bash` shell. There are a few workarounds available. For CI/CD systems using the Gradle build tool, one may ensure that untrusted users are unable to change environment variables for the user that executes `gradlew`. If one is unable to upgrade to Gradle 7.2, one may generate a new `gradlew` script with Gradle 7.2 and use it for older versions of Gradle. Fpplications using start scripts generated by Gradle, one may ensure that untrusted users are unable to change environment variables for the user that executes the start script. A vulnerable start script could be manually patched to remove the use of `eval` or the use of environment variables that affect the application s command-line. If the application is simple enough, one may be able to avoid the use of the start scripts by running the application directly with Java command. 漏洞公开时间:2021-07-21 07:15 漏洞创建时间:2024-10-13 01:59:43 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2021-32751 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | github | https://github.com/gradle/gradle/security/advisories/GHSA-6j2p-252f-7mw8 | | | mywiki | https://mywiki.wooledge.org/BashFAQ/048 | | | medium | https://medium.com/dot-debug/the-perils-of-bash-eval-cc5f9e309cae | | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> 无 </details> 二、漏洞分析结构反馈 影响性分析说明: Gradle is a build tool with a focus on build automation. In versions prior to 7.2, start scripts generated by the application plugin and the gradlew script are both vulnerable to arbitrary code execution when an attacker is able to change environment variables for the user running the script. This may impact those who use gradlew on Unix-like systems or use the scripts generated by Gradle in thieir application on Unix-like systems. For this vulnerability to be exploitable, an attacker needs to be able to set the value of particular environment variables and have those environment variables be seen by the vulnerable scripts. This issue has been patched in Gradle 7.2 by removing the use of eval and requiring the use of the bash shell. There are a few workarounds available. For CI/CD systems using the Gradle build tool, one may ensure that untrusted users are unable to change environment variables for the user that executes gradlew. If one is unable to upgrade to Gradle 7.2, one may generate a new gradlew script with Gradle 7.2 and use it for older versions of Gradle. Fpplications using start scripts generated by Gradle, one may ensure that untrusted users are unable to change environment variables for the user that executes the start script. A vulnerable start script could be manually patched to remove the use of eval or the use of environment variables that affect the application s command-line. If the application is simple enough, one may be able to avoid the use of the start scripts by running the application directly with Java command. openEuler评分: 7.5 Vector:CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H 受影响版本排查(受影响/不受影响): 1.master(4.4.1):受影响 2.openEuler-20.03-LTS-SP4(4.4.1):受影响 3.openEuler-22.03-LTS-SP3(4.4.1):受影响 4.openEuler-22.03-LTS-SP4(4.4.1):受影响 5.openEuler-24.03-LTS(4.4.1):受影响 6.openEuler-24.03-LTS-Next(4.4.1):受影响 7.openEuler-24.03-LTS-SP1(4.4.1):受影响 8.openEuler-24.03-LTS-SP2(4.4.1):受影响 修复是否涉及abi变化(是/否): 1.master(4.4.1):否 2.openEuler-20.03-LTS-SP4(4.4.1):否 3.openEuler-22.03-LTS-SP3(4.4.1):否 4.openEuler-22.03-LTS-SP4(4.4.1):否 5.openEuler-24.03-LTS(4.4.1):否 6.openEuler-24.03-LTS-Next(4.4.1):否 7.openEuler-24.03-LTS-SP1(4.4.1):否 8.openEuler-24.03-LTS-SP2(4.4.1):否 原因说明: 1.master(4.4.1):正常修复 2.openEuler-20.03-LTS-SP4(4.4.1):正常修复 3.openEuler-22.03-LTS-SP3(4.4.1):正常修复 4.openEuler-22.03-LTS-SP4(4.4.1):正常修复 5.openEuler-24.03-LTS(4.4.1):正常修复 6.openEuler-24.03-LTS-Next(4.4.1):正常修复 7.openEuler-24.03-LTS-SP1(4.4.1):正常修复 8.openEuler-24.03-LTS-SP2(4.4.1):正常修复
一、漏洞信息 漏洞编号:[CVE-2021-32751](https://nvd.nist.gov/vuln/detail/CVE-2021-32751) 漏洞归属组件:[gradle](https://gitee.com/src-openeuler/gradle) 漏洞归属的版本:4.4.1 CVSS V3.0分值: BaseScore:7.5 High Vector:CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H 漏洞简述: Gradle is a build tool with a focus on build automation. In versions prior to 7.2, start scripts generated by the `application` plugin and the `gradlew` script are both vulnerable to arbitrary code execution when an attacker is able to change environment variables for the user running the script. This may impact those who use `gradlew` on Unix-like systems or use the scripts generated by Gradle in thieir application on Unix-like systems. For this vulnerability to be exploitable, an attacker needs to be able to set the value of particular environment variables and have those environment variables be seen by the vulnerable scripts. This issue has been patched in Gradle 7.2 by removing the use of `eval` and requiring the use of the `bash` shell. There are a few workarounds available. For CI/CD systems using the Gradle build tool, one may ensure that untrusted users are unable to change environment variables for the user that executes `gradlew`. If one is unable to upgrade to Gradle 7.2, one may generate a new `gradlew` script with Gradle 7.2 and use it for older versions of Gradle. Fpplications using start scripts generated by Gradle, one may ensure that untrusted users are unable to change environment variables for the user that executes the start script. A vulnerable start script could be manually patched to remove the use of `eval` or the use of environment variables that affect the application s command-line. If the application is simple enough, one may be able to avoid the use of the start scripts by running the application directly with Java command. 漏洞公开时间:2021-07-21 07:15 漏洞创建时间:2024-10-13 01:59:43 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2021-32751 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | github | https://github.com/gradle/gradle/security/advisories/GHSA-6j2p-252f-7mw8 | | | mywiki | https://mywiki.wooledge.org/BashFAQ/048 | | | medium | https://medium.com/dot-debug/the-perils-of-bash-eval-cc5f9e309cae | | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> 无 </details> 二、漏洞分析结构反馈 影响性分析说明: Gradle is a build tool with a focus on build automation. In versions prior to 7.2, start scripts generated by the application plugin and the gradlew script are both vulnerable to arbitrary code execution when an attacker is able to change environment variables for the user running the script. This may impact those who use gradlew on Unix-like systems or use the scripts generated by Gradle in thieir application on Unix-like systems. For this vulnerability to be exploitable, an attacker needs to be able to set the value of particular environment variables and have those environment variables be seen by the vulnerable scripts. This issue has been patched in Gradle 7.2 by removing the use of eval and requiring the use of the bash shell. There are a few workarounds available. For CI/CD systems using the Gradle build tool, one may ensure that untrusted users are unable to change environment variables for the user that executes gradlew. If one is unable to upgrade to Gradle 7.2, one may generate a new gradlew script with Gradle 7.2 and use it for older versions of Gradle. Fpplications using start scripts generated by Gradle, one may ensure that untrusted users are unable to change environment variables for the user that executes the start script. A vulnerable start script could be manually patched to remove the use of eval or the use of environment variables that affect the application s command-line. If the application is simple enough, one may be able to avoid the use of the start scripts by running the application directly with Java command. openEuler评分: 7.5 Vector:CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H 受影响版本排查(受影响/不受影响): 1.master(4.4.1):受影响 2.openEuler-20.03-LTS-SP4(4.4.1):受影响 3.openEuler-22.03-LTS-SP3(4.4.1):受影响 4.openEuler-22.03-LTS-SP4(4.4.1):受影响 5.openEuler-24.03-LTS(4.4.1):受影响 6.openEuler-24.03-LTS-Next(4.4.1):受影响 7.openEuler-24.03-LTS-SP1(4.4.1):受影响 8.openEuler-24.03-LTS-SP2(4.4.1):受影响 修复是否涉及abi变化(是/否): 1.master(4.4.1):否 2.openEuler-20.03-LTS-SP4(4.4.1):否 3.openEuler-22.03-LTS-SP3(4.4.1):否 4.openEuler-22.03-LTS-SP4(4.4.1):否 5.openEuler-24.03-LTS(4.4.1):否 6.openEuler-24.03-LTS-Next(4.4.1):否 7.openEuler-24.03-LTS-SP1(4.4.1):否 8.openEuler-24.03-LTS-SP2(4.4.1):否 原因说明: 1.master(4.4.1):正常修复 2.openEuler-20.03-LTS-SP4(4.4.1):正常修复 3.openEuler-22.03-LTS-SP3(4.4.1):正常修复 4.openEuler-22.03-LTS-SP4(4.4.1):正常修复 5.openEuler-24.03-LTS(4.4.1):正常修复 6.openEuler-24.03-LTS-Next(4.4.1):正常修复 7.openEuler-24.03-LTS-SP1(4.4.1):正常修复 8.openEuler-24.03-LTS-SP2(4.4.1):正常修复
评论 (
7
)
登录
后才可以发表评论
状态
进行中
待办的
已挂起
进行中
已完成
已拒绝
负责人
未设置
small_leek
small_leek
负责人
协作者
+负责人
+协作者
标签
sig/sig-Java
CVE/UNFIXED
CVE/PENDING
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (26)
标签 (22)
master
openEuler-25.03
openEuler-25.09
openEuler-22.03-LTS-SP4
openEuler-22.03-LTS-Next
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
openEuler-24.03-LTS-SP3
openEuler-24.03-LTS
openEuler-24.09
openEuler-22.03-LTS-SP3
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS-SP2
openEuler-21.09
openEuler-20.03-LTS-SP2
openEuler-20.03-LTS-SP3
openEuler-20.03-LTS-SP1
openEuler-22.09
openEuler-23.03
openEuler-23.09
openEuler-21.03
openEuler-20.03-LTS-Next
openEuler-22.03-LTS
openEuler-22.03-LTS-SP1
openEuler-20.09
openEuler-25.09-release
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round3
openEuler-22.03-LTS-round2
openEuler-22.03-LTS-round1
openEuler-20.03-LTS-SP3-release
openEuler-20.03-LTS-SP2-20210624
openEuler-21.03-20210330
openEuler-20.09-20200928
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/src-openeuler/gradle.git
git@gitee.com:src-openeuler/gradle.git
src-openeuler
gradle
gradle
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册