CVE-2024-23901: Shared projects are unconditionally discovered by Jenkins GitLab Branch Source Plugin
GitLab allows sharing a project with another group. Jenkins GitLab Branch Source Plugin 684.veafa7c1e2fe3 and earlier unconditionally discovers projects that are shared with the configured owner group. This allows attackers to configure and share a project, resulting in a crafted Pipeline being built by Jenkins after the next scan of the group’s projects.
Published Jan 24, 2024 · Updated Jan 31, 2024
Affected packages
io.jenkins.plugins:gitlab-branch-source
- Ecosystem
- Maven
- Affected
- < 688.v5fa
- Fixed in
- 688.v5fa
- Check
mvn dependency:tree -Dincludes=io.jenkins.plugins:gitlab-branch-source
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
GitLab allows sharing a project with another group.
Jenkins GitLab Branch Source Plugin 684.vea_fa_7c1e2fe3 and earlier unconditionally discovers projects that are shared with the configured owner group.
This allows attackers to configure and share a project, resulting in a crafted Pipeline being built by Jenkins after the next scan of the group’s projects.
In GitLab Branch Source Plugin 688.v5fa_356ee8520, the default strategy for discovering projects does not discover projects shared with the configured owner group. To discover projects shared with the configured owner group, use the new trait "Discover shared projects".
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
