CVE-2024-56322
GoCD Server vulnerability analysis and mitigation

Overview

GoCD is a continuous deliver server affected by an XML External Entity (XXE) injection vulnerability in versions 16.7.0 through 24.4.0. The vulnerability allows GoCD administrators to abuse a hidden/unused configuration repository (pipelines as code) feature to trigger XXE injection on the GoCD Server. This occurs when GoCD periodically scans configuration repositories for pipeline updates, or when triggered by an administrator or config repo admin (GitHub Advisory).

Technical details

The vulnerability is classified as CWE-611 (Improper Restriction of XML External Entity Reference). It has a CVSS v4.0 base score of 2.1 (LOW) with the following vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N. The vulnerability requires high privileges (GoCD admin access) to exploit and has high attack complexity (NVD).

Impact

The impact of this vulnerability is limited in most cases without combining with another vulnerability, as only GoCD (super) admins have the ability to abuse it. A malicious GoCD admin can typically cause much larger damage through other means than through XXE injection (GitHub Advisory).

Mitigation and workarounds

The vulnerability is fixed in GoCD version 24.5.0. As a workaround, users can prevent external access from the GoCD server to arbitrary locations using environment egress control (GitHub Advisory, GoCD Release Notes).

Additional resources


SourceThis report was generated using AI

Related GoCD Server vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-56320CRITICAL9.4
  • GoCD Server logoGoCD Server
  • cpe:2.3:a:thoughtworks:gocd
NoYesJan 03, 2025
CVE-2024-28866MEDIUM6.1
  • GoCD Server logoGoCD Server
  • cpe:2.3:a:thoughtworks:gocd
NoYesMay 14, 2024
CVE-2024-56321LOW3.8
  • GoCD Server logoGoCD Server
  • cpe:2.3:a:thoughtworks:gocd
NoYesJan 03, 2025
CVE-2024-56324LOW2.1
  • GoCD Server logoGoCD Server
  • cpe:2.3:a:thoughtworks:gocd
NoYesJan 03, 2025
CVE-2024-56322LOW2.1
  • GoCD Server logoGoCD Server
  • cpe:2.3:a:thoughtworks:gocd
NoYesJan 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management