Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in go.woodpecker-ci.org/woodpecker: GHSA-xw35-rrcp-g7xm #2999

Closed
GoVulnBot opened this issue Jul 19, 2024 · 2 comments
Labels

Comments

@GoVulnBot
Copy link

Advisory GHSA-xw35-rrcp-g7xm references a vulnerability in the following Go modules:

Module
go.woodpecker-ci.org/woodpecker
go.woodpecker-ci.org/woodpecker/v2

Description:

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

woodpecker-ci/woodpecker#3933

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

References

References:

Cross references:
No existing reports found with this module or alias.
See doc/triage.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: go.woodpecker-ci.org/woodpecker
      vulnerable_at: 1.0.5
    - module: go.woodpecker-ci.org/woodpecker/v2
      versions:
        - fixed: 2.7.0
      vulnerable_at: 2.6.1
summary: Woodpecker's custom workspace allow to overwrite plugin entrypoint executable in go.woodpecker-ci.org/woodpecker
cves:
    - CVE-2024-41121
ghsas:
    - GHSA-xw35-rrcp-g7xm
references:
    - advisory: https://github.com/advisories/GHSA-xw35-rrcp-g7xm
    - advisory: https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-xw35-rrcp-g7xm
    - fix: https://github.com/woodpecker-ci/woodpecker/commit/764329ed1dbc47c4a517ccc749e3feb34059fac8
    - fix: https://github.com/woodpecker-ci/woodpecker/pull/3933
    - report: https://github.com/woodpecker-ci/woodpecker/issues/3924
source:
    id: GHSA-xw35-rrcp-g7xm
    created: 2024-07-19T20:01:20.387548324Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/601382 mentions this issue: data/reports: add GO-2024-2999

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/603235 mentions this issue: data/reports: add 29 unreviewed reports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants