THREATPORT/VULNERABILITY/CVE-2022-29184
HIGH SEVERITY

CVE-2022-29184

Gocd vulnerability

CVSS
8.8
EPSS
3.6%
EPSS pct
88th
Exploited
No known
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.
Affected vendor
Thoughtworks
Affected product
Gocd
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type (CWE)
Published
2022-05-20

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring low privileges, no user interaction. Successful exploitation leads to high impact to confidentiality, high impact to integrity, high impact to availability.

Its EPSS score of 3.6% reflects a lower probability of exploitation activity in the wild over the next 30 days, placing it above 88% of all scored CVEs.

Check your external exposure to CVE-2022-29184

  • Confirm whether Thoughtworks Gocd is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2022-29184.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2022-29184

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2022-29184 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2022-29184?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2022-29184.

Start free scan

No credit card. Agentless.