在命令中使用的特殊元素转义处理不恰当(命令注入)
CVE编号
CVE-2022-2251利用情况
暂无补丁情况
N/A披露时间
2023-01-18漏洞描述
Improper sanitization of branch names in GitLab Runner affecting all versions prior to 15.3.5, 15.4 prior to 15.4.4, and 15.5 prior to 15.5.2 allows a user who creates a branch with a specially crafted name and gets another user to trigger a pipeline to execute commands in the runner as that other user.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.json | |
https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386 | |
https://hackerone.com/reports/1063511 |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | gitlab | runner | * | Up to (excluding) 15.3.5 | |||||
运行在以下环境 | |||||||||
应用 | gitlab | runner | * | From (including) 15.4.0 | Up to (excluding) 15.4.4 | ||||
运行在以下环境 | |||||||||
应用 | gitlab | runner | * | From (including) 15.5.0 | Up to (excluding) 15.5.2 | ||||
运行在以下环境 | |||||||||
系统 | debian_sid | gitlab | * | Up to (excluding) 15.10.8+ds1-2 |
- 攻击路径 网络
- 攻击复杂度 低
- 权限要求 低
- 影响范围 未更改
- 用户交互 需要
- 可用性 高
- 保密性 高
- 完整性 高
CWE-ID | 漏洞类型 |
CWE-77 | 在命令中使用的特殊元素转义处理不恰当(命令注入) |
CWE-78 | OS命令中使用的特殊元素转义处理不恰当(OS命令注入) |
Exp相关链接

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