Description
Woodpecker is a CI/CD engine. Starting in version 3.0.0 and prior to version 3.14.1, a vulnerability in Woodpecker CI's gRPC layer allowed any authenticated agent to impersonate any other agent on the same server by injecting a forged `agent_id` value into outgoing gRPC metadata. The server correctly verified the JWT token but then discarded the verified agent identity in favor of the client-supplied value. Version 3.14.1 patches the issue. As a workaround, disable org agents (`WOODPECKER_DISABLE_USER_AGENT_REGISTRATION=true`) and delete existing ones.
CVSS breakdown
CVSS 4.0
Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Confidentiality (Vulnerable System)
None
Integrity (Vulnerable System)
High
Availability (Vulnerable System)
None
Confidentiality (Subsequent System)
None
Integrity (Subsequent System)
None
Availability (Subsequent System)
None
Affected products
- woodpecker-ci / woodpecker>= 3.0.0, < 3.14.1 – >= 3.0.0, < 3.14.1
References
- VENDOR_ADVISORYhttps://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-g7mm-9vx7-jm7h
- MISChttps://github.com/woodpecker-ci/woodpecker-security/issues/21
- MISChttps://github.com/woodpecker-ci/woodpecker/issues/6541
- PATCHhttps://github.com/woodpecker-ci/woodpecker/pull/6567
- PATCHhttps://github.com/woodpecker-ci/woodpecker/pull/6569