在命令中使用的特殊元素转义处理不恰当(命令注入)

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.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
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
CVSS3评分
8.0
  • 攻击路径
    网络
  • 攻击复杂度
  • 权限要求
  • 影响范围
    未更改
  • 用户交互
    需要
  • 可用性
  • 保密性
  • 完整性
CWE-ID 漏洞类型
CWE-77 在命令中使用的特殊元素转义处理不恰当(命令注入)
CWE-78 OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
阿里云安全产品覆盖情况