CVE-2024-41121: Woodpecker's custom workspace allow to overwrite plugin entrypoint executable
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.
References
- github.com/advisories/GHSA-xw35-rrcp-g7xm
- github.com/woodpecker-ci/woodpecker
- github.com/woodpecker-ci/woodpecker/commit/764329ed1dbc47c4a517ccc749e3feb34059fac8
- github.com/woodpecker-ci/woodpecker/issues/3924
- github.com/woodpecker-ci/woodpecker/pull/3933
- github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-xw35-rrcp-g7xm
- nvd.nist.gov/vuln/detail/CVE-2024-41121
Detect and mitigate CVE-2024-41121 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →