Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS0zd2YyLTJwcTQtNHJ2Y84AA-Ay

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:

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

Credits

Permalink: https://github.com/advisories/GHSA-3wf2-2pq4-4rvc
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zd2YyLTJwcTQtNHJ2Y84AA-Ay
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 4 months ago
Updated: 5 days ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-3wf2-2pq4-4rvc, CVE-2024-41122
References: Repository: https://github.com/woodpecker-ci/woodpecker
Blast Radius: 1.0

Affected Packages

go:go.woodpecker-ci.org/woodpecker
Dependent packages: 0
Dependent repositories: 0
Downloads:
Affected Version Ranges: < 2.7.0
Fixed in: 2.7.0
All affected versions: 0.8.91, 0.8.92, 0.8.93, 0.8.94, 0.8.95, 0.8.96, 0.8.97, 0.8.98, 0.8.99, 0.8.100, 0.8.101, 0.8.102, 0.8.103, 0.8.104, 0.8.105, 0.8.106, 0.9.0, 0.9.1, 0.9.2, 0.10.0, 0.11.0, 0.12.0, 0.13.0, 0.14.0, 0.14.1, 0.14.2, 0.14.3, 0.14.4, 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.15.4, 0.15.5, 0.15.6, 0.15.7, 0.15.8, 0.15.9, 0.15.10, 0.15.11, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5
All unaffected versions:
go:go.woodpecker-ci.org/woodpecker/v2
Dependent packages: 0
Dependent repositories: 0
Downloads:
Affected Version Ranges: < 2.7.0
Fixed in: 2.7.0
All affected versions: 2.0.0, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.4.0, 2.4.1, 2.5.0, 2.6.0, 2.6.1
All unaffected versions: 2.7.0, 2.7.1, 2.7.2, 2.7.3