---
cve: "CVE-2024-56321"
severity: "LOW"
cvss: 3.8
epss: "0.5%"
vendor: "gocd"
kev: false
exploited: false
published: "2025-01-03 16:15:26"
tags: [cve, security, low]
source: tsecurity.de CVE-Dossier
exported: "2026-09-22T03:49:08+02:00"
---

# CVE-2024-56321

> 3.8 LOW · 🧪 PoC

## Beschreibung

GoCD is a continuous deliver server. GoCD versions 18.9.0 through 24.4.0 (inclusive) can allow GoCD admins to abuse the backup configuration "post-backup script" feature to potentially execute arbitrary scripts on the hosting server or container as GoCD's user, rather than pre-configured scripts. In practice the impact of this vulnerability is limited, as in most configurations a user who can log into the GoCD UI as an admin also has host administration permissions for the host/container that GoCD runs on, in order to manage artifact storage and other service-level configuration options. Additionally, since a GoCD admin has ability to configure and schedule pipelines tasks on all GoCD agents available to the server, the fundamental functionality of GoCD allows co-ordinated task execution similar to that of post-backup-scripts. However in restricted environments where the host administration is separated from the role of a GoCD admin, this may be unexpected. The issue is fixed in GoCD 24.5.0. Post-backup scripts can no longer be executed from within certain sensitive locations on the GoCD server. No known workarounds are available.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Hoch | good |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Gering | warn |
| I Integrität | Gering | warn |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- 8f7bf5297c90c909e42d030baad54a1d32701c65 (Commit)
- 631f315d17fcb73f310eee6c881974c9b55ca9f0 (Commit)

## Referenzen

- <https://github.com/gocd/gocd/security/advisories/GHSA-7jr3-gh3w-vjxq>
- <https://github.com/gocd/gocd/commit/631f315d17fcb73f310eee6c881974c9b55ca9f0>
- <https://github.com/gocd/gocd/releases/tag/24.5.0>
- <https://www.gocd.org/releases/#24-5-0>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2024-56321) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
