Skip to content
OpenAdvisories
High · 8.8 CVE-2022-25183 EUVD-2022-1125GHSA-pfwp-q984-w7wh

Jenkins Pipeline: Deprecated Groovy Libraries Plugin Protection Mechanism Failure

Published Feb 15, 2022 · Updated Aug 3, 2024 · Assigned by jenkins

Description

Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the names of Pipeline libraries to create cache directories without any sanitization, allowing attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM using specially crafted library names if a global Pipeline library configured to use caching already exists.

Affected products

VendorProductAffectedFixed
Jenkins project Jenkins Pipeline: Shared Groovy Libraries Plugin unspecified – ≤ 552.vd9cc05b8a2e1, 2.21 – < unspecified unspecified

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 cri-o 1.21.5-3.rhaos4.8.gitaf64931.el7 RHSA-2022:0871
Red Hat OpenShift 4 haproxy +1 2.0.16-3.el7 RHSA-2022:1620, RHSA-2022:1021
Red Hat OpenShift 4 haproxy22 2.2.15-4.el8 RHSA-2022:1021
Red Hat OpenShift 4 jenkins-2-plugins 4.6.1650364520-1.el8 RHSA-2022:1620, RHSA-2022:1248, RHSA-2022:1025
Red Hat OpenShift 3 jenkins 2.319.3.1650348949-1.el7 RHSA-2022:1420
Red Hat OpenShift 3 jenkins-2-plugins 3.11.1650371376-1.el7 RHSA-2022:1420

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib < 561.va_ce0de3c2d69 561.va_ce0de3c2d69 GHSA-pfwp-q984-w7wh

Advisories 6

References