Skip to content
OpenAdvisories
High · 7.3 CVE-2022-29047 EUVD-2022-1760GHSA-hh6f-6fp5-gfpv

Untrusted users can modify some Pipeline libraries in Jenkins Pipeline: Deprecated Groovy Libraries Plugin

Published Apr 12, 2022 · Updated Nov 20, 2024 · Assigned by jenkins

Description

Jenkins Pipeline: Shared Groovy Libraries Plugin 564.ve62a_4eb_b_e039 and earlier, except 2.21.3, allows attackers able to submit pull requests (or equivalent), but not able to commit directly to the configured SCM, to effectively change the Pipeline behavior by changing the definition of a dynamically retrieved library in their pull request, even if the Pipeline is configured to not trust them.

Affected products

VendorProductAffectedFixed
Jenkins project Jenkins Pipeline: Shared Groovy Libraries Plugin unspecified – ≤ 564.ve62a_4eb_b_e039 2.21.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat OpenShift 4 jenkins 2.361.1.1672840472-1.el8 RHSA-2023:0017
Red Hat OpenShift 4 jenkins-2-plugins 4.7.1652967082-1.el8 RHSA-2023:0017, RHSA-2022:4909, RHSA-2022:2205
Red Hat Ocp Tools 4 jenkins-2-plugins 4.12.1675702407-1.el8 RHSA-2023:1064

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib < 2.21.3 2.21.3 GHSA-hh6f-6fp5-gfpv
Maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib >= 544.vff04fa68714d, < 566.vd0a 566.vd0a GHSA-hh6f-6fp5-gfpv

Advisories 5

References