GHSA-xw35-rrcp-g7xm

Suggest an improvement
Source
https://github.com/advisories/GHSA-xw35-rrcp-g7xm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-xw35-rrcp-g7xm/GHSA-xw35-rrcp-g7xm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xw35-rrcp-g7xm
Aliases
Published
2024-07-19T19:59:08Z
Modified
2026-09-10T03:50:17Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Woodpecker's custom workspace allow to overwrite plugin entrypoint executable
Details

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/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

Credits

  • Daniel Kilimnik @D_K_Dev (Neodyme AG)
  • Felipe Custodio Romero @localo (Neodyme AG)
Database specific
{
    "cwe_ids":  [
        "CWE-22",
        "CWE-74"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2024-07-19T19:59:08Z",
    "nvd_published_at":  "2024-07-19T20:15:08Z",
    "severity":  "HIGH"
}
References

Affected packages

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

Package

Name
go.woodpecker-ci.org/woodpecker/v2
View open source insights on deps.dev
Purl
pkg:golang/go.woodpecker-ci.org/woodpecker/v2

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.7.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-xw35-rrcp-g7xm/GHSA-xw35-rrcp-g7xm.json"

Go / go.woodpecker-ci.org/woodpecker

Package

Name
go.woodpecker-ci.org/woodpecker
View open source insights on deps.dev
Purl
pkg:golang/go.woodpecker-ci.org/woodpecker

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.7.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-xw35-rrcp-g7xm/GHSA-xw35-rrcp-g7xm.json"