Kurz gesagt
- CVE-2024-41122 ist eine Schwachstelle (HOCH (CVSS 8.8)) in go.woodpecker-ci.org/woodpecker, go.woodpecker-ci.org/woodpecker/v2, woodpecker (woodpecker-ci).
- Wahrscheinlichkeit einer Ausnutzung in den nächsten 30 Tagen (EPSS): 0.62%, höher als bei 49.6% aller Schwachstellen.
- Abhilfe: auf 2.7.0 oder neuer aktualisieren.
Description
Impact
The server allow to create any user who can trigger a pipeline run malicious workflows:
- Those workflows can either lead to a host takeover that runs the agent executing the workflow.
- Or allow to extract the secrets who would be normally provided to the plugins who's entrypoint are overwritten.
Patches
https://github.com/woodpecker-ci/woodpecker/pull/3909
https://github.com/woodpecker-ci/woodpecker/pull/3934
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
Enable the "gated" repo feature and review each change upfront of running
References
Credits
- Daniel Kilimnik @D_K_Dev (Neodyme AG)
- Felipe Custodio Romero @localo (Neodyme AG)
NVD description
Woodpecker is a simple yet powerful CI/CD engine with great extensibility. The server allow to create any user who can trigger a pipeline run malicious workflows: 1. Those workflows can either lead to a host takeover that runs the agent executing the workflow. 2. Or allow to extract the secrets who would be normally provided to the plugins who's entrypoint are overwritten. This issue has been addressed in release version 2.7.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free