NetSight
medium6.5

CVE-2022-25178

Improper Limitation of a Pathname to a Restricted Directory in Jenkins Pipeline: Shared Groovy Libraries Plugin

Impact

Jenkins Pipeline: Shared Groovy Libraries Plugin does not restrict the names of resources passed to the libraryResource step, allowing attackers able to configure Pipelines permission to read arbitrary files on the Jenkins controller file system.

Affected packages

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

Affected products

VendorProductAffected versions
JenkinsPipeline\
through 552.vd9cc05b8a2e1

Weakness classification

References