Vulnerability · Published Jul 19, 2024 · Assigned by GitHub_M

CVE-2024-41121Custom workspace allow to overwrite plugin entrypoint executable in Woodpecker

High 8.8

In plain English

A high-severity injection in woodpecker from woodpecker-ci. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.7%top 45.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogo.woodpecker-ci.org/woodpecker2.7.0GHSA-xw35-rrcp-g7xm
Gogo.woodpecker-ci.org/woodpeckerno fix listedGO-2024-2999
Gogo.woodpecker-ci.org/woodpecker/v22.7.0GHSA-xw35-rrcp-g7xm
Gogo.woodpecker-ci.org/woodpecker/v22.7.0GO-2024-2999

Affected products (as reported)

VendorProductVersions
woodpecker-ci woodpecker < 2.7.0

Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References