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.
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
Link | Tags |
---|---|
https://www.gocd.org/releases/#21-3-0 | issue tracking release notes vendor advisory |
https://github.com/gocd/gocd/commit/2b77b533abcbb79c8fc758dec9984305dc1ade42 | third party advisory patch |
https://github.com/gocd/gocd/commit/6fa9fb7a7c91e760f1adc2593acdd50f2d78676b | third party advisory patch |
https://blog.sonarsource.com/gocd-vulnerability-chain | exploit third party advisory patch |