CVE-2022-29183

Medium

Description

GoCD is a continuous delivery server. GoCD versions 20.2.0 until 21.4.0 are vulnerable to reflected cross-site scripting via abuse of the pipeline comparison function's error handling to render arbitrary HTML into the returned page. This could allow an attacker to trick a victim into executing code which would allow the attacker to operate on, or gain control over the same resources as the victim had access to. This issue is fixed in GoCD 21.4.0. As a workaround, block access to `/go/compare/.*` prior to GoCD Server via a reverse proxy, web application firewall or equivalent, which would prevent use of the pipeline comparison function.

SeverityMedium
CVSS4.3
Exploit probability—
ProductThoughtworks Gocd
PublishedMay 20, 2022
First seenMay 20, 2022

How to fix

Update
  • thoughtworks gocd21.4.0 or later

Affected products

ProductAffected versionsFixed in
thoughtworks gocd20.2.0 ≤ v < 21.4.021.4.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.