7.1 HIGH
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Vulnerable System Impact Confidentiality (VC): None (N)
- Vulnerable System Impact Integrity (VI): High (H)
- Vulnerable System Impact Availability (VA): None (N)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): None (N)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Vulnerable System Impact Confidentiality (MVC): None (N)
- Modified Vulnerable System Impact Integrity (MVI): High (H)
- Modified Vulnerable System Impact Availability (MVA): None (N)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
Activity log
- Created suggestion
Woodpecker gRPC agent_id metadata can be spoofed- cross-tenant agent impersonation
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.
References
-
https://github.com/woodpecker-ci/woodpecker-security/issues/21 x_refsource_MISC
-
https://github.com/woodpecker-ci/woodpecker/issues/6541 x_refsource_MISC
-
https://github.com/woodpecker-ci/woodpecker/pull/6567 x_refsource_MISC
-
https://github.com/woodpecker-ci/woodpecker/pull/6569 x_refsource_MISC
Affected products
- ==>= 3.0.0, < 3.14.1
Matching in nixpkgs
pkgs.woodpecker-cli
Command line client for the Woodpecker Continuous Integration server
pkgs.woodpecker-agent
Woodpecker Continuous Integration agent
pkgs.woodpecker-server
Woodpecker Continuous Integration server
pkgs.woodpecker-plugin-git
Woodpecker plugin for cloning Git repositories
Package maintainers
-
@marcusramberg Marcus Ramberg <marcus@means.no>
-
@ambroisie Bruno BELANYI <bruno.nixpkgs@belanyi.fr>
-
@techknowlogick techknowlogick <techknowlogick@gitea.com>
-
@luftmensch-luftmensch Valentino Bocchetti <valentinobocchetti59@gmail.com>