CVE-2024-41122 json
Custom environment variables allow to alter execution flow of plugins in Woodpecker
published 2y ago modified 2mo ago also EUVD-2024-2240 , GHSA-3wf2-2pq4-4rvc , GO-2024-2998
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go go.woodpecker-ci.org/woodpecker/v2 2.7.0
- go go.woodpecker-ci.org/woodpecker 2.7.0
- woodpecker-ci woodpecker 2.7.0
Is CVE-2024-41122 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2y ago
Exploit prediction
0.62% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | go.woodpecker-ci.org/woodpecker/v2 | <2.7.0 |
2.7.0 |
| go | go.woodpecker-ci.org/woodpecker | <2.7.0 all versions |
2.7.0 |
Affected products
- woodpecker-ci woodpecker
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
github.com
/woodpecker-ci/woodpecker/pull/3909
web, patch
-
github.com
/woodpecker-ci/woodpecker/pull/3934
web, patch
-
github.com
/woodpecker-ci/woodpecker/issues/3929
web, patch
-
github.com
/woodpecker-ci/woodpecker/commit/8aa3e5ec82c92eca3279e4be68625111eeedf1c4
web
-
github.com
/woodpecker-ci/woodpecker/security/advisories/GHSA-3wf2-2pq4-4rvc
web, third-party-advisory, advisory
-
github.com
/woodpecker-ci/woodpecker-security/issues/10
web, broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2024-41122
advisory
-
github.com
/woodpecker-ci/woodpecker
package
-
pkg.go.dev
/vuln/GO-2024-2998
web
Sources
- CVE List CVE-2024-41122
- GitHub Advisory GHSA-3wf2-2pq4-4rvc
- NVD CVE-2024-41122
- OSV GO-2024-2998
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.