—
GO-2024-2998
Woodpecker's custom environment variables allow to alter execution flow of plugins in go.woodpecker-ci.org/woodpecker
Quick fix
GO-2024-2998 — go.woodpecker-ci.org/woodpecker/v2: upgrade to the fixed version with the command below.
go get go.woodpecker-ci.org/woodpecker/v2@v2.7.0Details
Woodpecker's custom environment variables allow to alter execution flow of plugins in go.woodpecker-ci.org/woodpecker
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/go.woodpecker-ci.org/woodpecker
Introduced in:
0No fixed version published yet for go.woodpecker-ci.org/woodpecker (go modules). Pin to a known-safe version or switch to an alternative.
Go/go.woodpecker-ci.org/woodpecker/v2
Introduced in:
0Fixed in: 2.7.0Fix
go get go.woodpecker-ci.org/woodpecker/v2@v2.7.0References
- https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-3wf2-2pq4-4rvc[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2024-41122[ADVISORY]
- https://github.com/woodpecker-ci/woodpecker/commit/8aa3e5ec82c92eca3279e4be68625111eeedf1c4[WEB]
- https://github.com/woodpecker-ci/woodpecker/issues/3929[WEB]
- https://github.com/woodpecker-ci/woodpecker/pull/3909[WEB]
- https://github.com/woodpecker-ci/woodpecker/pull/3934[WEB]