go.woodpecker-ci.org/woodpecker/v2
Affected
- introduced
0, fixed2.7.0(semver)
Fixed versions
2.7.0
Fix
- Fixed version
2.7.0go get go.woodpecker-ci.org/woodpecker/[email protected]
Advisory
Also known as: CVE-2024-41121, GO-2024-2999
Woodpecker's custom workspace allow to overwrite plugin entrypoint executable
Impact
The server allow to create any user who can trigger a pipeline run malicious workflows:
Patches
https://github.com/woodpecker-ci/woodpecker/pull/3933
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
References
Credits
High Basis: The source's own band: HIGH
0, fixed 2.7.0 (semver)2.7.0
2.7.0go get go.woodpecker-ci.org/woodpecker/[email protected]0, fixed 2.7.0 (semver)2.7.0
2.7.0go get go.woodpecker-ci.org/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0