~ / search / GHSA-5hfv-mg5x-mv32

GHSA-5hfv-mg5x-mv32

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

Source: GitHub Advisory Database (reviewed) Moderate CVE-2022-25178

Packages

EcosystemPackageAffectedFixed in
Maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib >= 2.22, < 561.va_ce0de3c2d69 561.va_ce0de3c2d69
Maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib >= 2.19, < 2.21.1 2.21.1
Maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib < 2.18.1 2.18.1

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.