NetSight
high8.8

CVE-2022-25183

Jenkins Pipeline: Deprecated Groovy Libraries Plugin Protection Mechanism Failure

Impact

Jenkins Pipeline: Deprecated Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the names of Pipeline libraries to create cache directories without any sanitization. This allows 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. Pipeline: Deprecated Groovy Libraries Plugin 561.va_ce0de3c2d69 sanitizes the names of Pipeline libraries when creating library cache directories.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.jenkins-ci.plugins.workflow:workflow-cps-global-lib<= 552.vd9cc05b8a2e1561.va_ce0de3c2d69

Affected products

VendorProductAffected versions
JenkinsPipeline\
through 552.vd9cc05b8a2e1

Weakness classification

References