CVE-2024-41122
published 2024-07-19CVE-2024-41122: 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…
PriorityP351high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
0.62%
45.5th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| go.woodpecker-ci.org | woodpecker | >= 0 < 2.7.0 | 2.7.0 |
| go.woodpecker-ci.org | woodpecker_v2 | >= 0 < 2.7.0 | 2.7.0 |
| woodpecker-ci | woodpecker | < 2.7.0 | 2.7.0 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Woodpecker's custom environment variables allow to alter execution flow of plugins in go.woodpecker-ci.org/woodpecker
osv·2024-08-06
CVE-2024-41122 Woodpecker's custom environment variables allow to alter execution flow of plugins in go.woodpecker-ci.org/woodpecker
Woodpecker's custom environment variables allow to alter execution flow of plugins in go.woodpecker-ci.org/woodpecker
Woodpecker's custom environment variables allow to alter execution flow of plugins in go.woodpecker-ci.org/woodpecker
GHSA
Woodpecker's custom environment variables allow to alter execution flow of plugins
ghsa·2024-07-19
CVE-2024-41122 [MEDIUM] CWE-74 Woodpecker's custom environment variables allow to alter execution flow of plugins
Woodpecker's custom environment variables allow to alter execution flow of plugins
### 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
- https://github.com/woodpecker-ci/woodpecker/pull/3909
- https://github.com/woodpecker-ci
OSV
Woodpecker's custom environment variables allow to alter execution flow of plugins
osv·2024-07-19
CVE-2024-41122 [MEDIUM] Woodpecker's custom environment variables allow to alter execution flow of plugins
Woodpecker's custom environment variables allow to alter execution flow of plugins
### 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
- https://github.com/woodpecker-ci/woodpecker/pull/3909
- https://github.com/woodpecker-ci
No detection rules found.
No public exploits indexed.
https://github.com/woodpecker-ci/woodpecker-security/issues/10https://github.com/woodpecker-ci/woodpecker/issues/3929https://github.com/woodpecker-ci/woodpecker/pull/3909https://github.com/woodpecker-ci/woodpecker/pull/3934https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-3wf2-2pq4-4rvchttps://github.com/woodpecker-ci/woodpecker-security/issues/10https://github.com/woodpecker-ci/woodpecker/issues/3929https://github.com/woodpecker-ci/woodpecker/pull/3909https://github.com/woodpecker-ci/woodpecker/pull/3934https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-3wf2-2pq4-4rvc
2024-07-19
Published