Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-29184— Command Injection/Argument Injection in GoCD

Quick assessment

Affected
gocd gocd
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GoCD是一个持续交付服务器。 GoCD 22.1.0之前版本存在安全漏洞。攻击者利用该漏洞通过配置滥用 Mercurial hooks/ 的恶意分支名称在 GoCD 服务器上获得远程代码执行能力。

CVSS 8.8 · High EPSS 3.78% · P90
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-29184

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Command Injection/Argument Injection in GoCD
Source: CVE Program / CVE List V5
Vulnerability Description
GoCD is a continuous delivery server. In GoCD versions prior to 22.1.0, it is possible for existing authenticated users who have permissions to edit or create pipeline materials or pipeline configuration repositories to get remote code execution capability on the GoCD server via configuring a malicious branch name which abuses Mercurial hooks/aliases to exploit a command injection weakness. An attacker would require access to an account with existing GoCD administration permissions to either create/edit (`hg`-based) configuration repositories; create/edit pipelines and their (`hg`-based) materials; or, where "pipelines-as-code" configuration repositories are used, to commit malicious configuration to such an external repository which will be automatically parsed into a pipeline configuration and (`hg`) material definition by the GoCD server. This issue is fixed in GoCD 22.1.0. As a workaround, users who do not use/rely upon Mercurial materials can uninstall/remove the `hg`/Mercurial binary from the underlying GoCD Server operating system or Docker image.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
在命令中使用的特殊元素转义处理不恰当(命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
GoCD 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GoCD是一个持续交付服务器。 GoCD 22.1.0之前版本存在安全漏洞。攻击者利用该漏洞通过配置滥用 Mercurial hooks/ 的恶意分支名称在 GoCD 服务器上获得远程代码执行能力。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
gocd gocd < 22.1.0 -

II. Public POCs for CVE-2022-29184

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-29184

请登录查看更多情报信息。

Vendor Advisories for CVE-2022-29184 (1)

Other References for CVE-2022-29184 (2)

Same Patch Batch · gocd · 2022-05-20 · 3 CVEs total

CVE-2022-29182 4.3 MEDIUM DOM-based XSS in GoCD
CVE-2022-29183 4.3 MEDIUM Reflected XSS in GoCD

IV. Related Vulnerabilities

V. Comments for CVE-2022-29184

No comments yet


Leave a comment