Description
An issue was discovered in ThoughtWorks GoCD before 21.3.0. An attacker with privileges to create a new pipeline on a GoCD server can abuse a command-line injection in the Git URL "Test Connection" feature to execute arbitrary code.
References (4)
Core 4
Core References
Issue Tracking, Release Notes, Vendor Advisory x_refsource_misc
https://www.gocd.org/releases/#21-3-0
Patch, Third Party Advisory x_refsource_misc
https://github.com/gocd/gocd/commit/2b77b533abcbb79c8fc758dec9984305dc1ade42
Patch, Third Party Advisory x_refsource_misc
https://github.com/gocd/gocd/commit/6fa9fb7a7c91e760f1adc2593acdd50f2d78676b
Exploit, Patch, Third Party Advisory x_refsource_misc
https://blog.sonarsource.com/gocd-vulnerability-chain
Scores
CVSS v3
8.8
EPSS
0.0163
EPSS Percentile
82.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-77
Status
published
Products (1)
thoughtworks/gocd
< 21.3.0
Published
Apr 14, 2022
Tracked Since
Feb 18, 2026