~ / search / GHSA-q234-x887-9rxh

GHSA-q234-x887-9rxh

Improper Link Resolution Before File Access in Jenkins Pipeline: Shared Groovy Libraries Plugin

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

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 552.vd9cc05b8a2e1 and earlier follows symbolic links to locations outside of the expected Pipeline library when reading files using the libraryResource step, allowing attackers able to configure Pipelines to read arbitrary files on the Jenkins controller file system.

References

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