低危 octokit_project octokit 缺省权限不正确
CVE编号
CVE-2022-31072利用情况
暂无补丁情况
官方补丁披露时间
2022-06-16漏洞描述
Octokit is a Ruby toolkit for the GitHub API. Versions 4.23.0 and 4.24.0 of the octokit gem were published containing world-writeable files. Specifically, the gem was packed with files having their permissions set to `-rw-rw-rw-` (i.e. 0666) instead of `rw-r--r--` (i.e. 0644). This means everyone who is not the owner (Group and Public) with access to the instance where this release had been installed could modify the world-writable files from this gem. This issue is patched in Octokit 4.25.0. Two workarounds are available. Users can use the previous version of the gem, v4.22.0. Alternatively, users can modify the file permissions manually until they are able to upgrade to the latest version.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/octokit/octokit.rb/commit/1c8edecc9cf23d1ceb959d91a416a69f55ce7d55 | |
https://github.com/octokit/octokit.rb/security/advisories/GHSA-g28x-pgr3-qqx6 |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | octokit_project | octokit | 4.23.0 | - | |||||
运行在以下环境 | |||||||||
应用 | octokit_project | octokit | 4.24.0 | - | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | ruby-octokit | * | Up to (excluding) 4.13.0-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | ruby-octokit | * | Up to (excluding) 4.17.0-2 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | ruby-octokit | * | Up to (excluding) 4.20.0-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | ruby-octokit | * | Up to (excluding) 4.20.0-1 | |||||
- 攻击路径 本地
- 攻击复杂度 困难
- 权限要求 管控权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-276 | 缺省权限不正确 |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论