Skip to content

CVE-2024-41122 Custom environment variables allow to alter execution flow of plugins in Woodpecker

HighCVSS 8.8 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
go.woodpecker-ci.org/woodpecker/v2(Go) < 2.7.0; All versions 2.7.0 Partially fixed
woodpecker-ci github.com/woodpecker-ci/woodpecker < 2.7.0; = < 2.7.0 2.7.0 Fixed

Affected products

ProductAffected versionsFixed in
go.woodpecker-ci.org/woodpecker/v2(Go) < 2.7.0 2.7.0
go.woodpecker-ci.org/woodpecker/v2(Go) All versions No fix listed
woodpecker-ci github.com/woodpecker-ci/woodpecker = < 2.7.0 No fix listed
woodpecker-ci github.com/woodpecker-ci/woodpecker < 2.7.0 2.7.0

References