ADVISORIES

GitHub Advisory Database

GHSA-6473-gqrj-4p65

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

Moderate CVE-2022-25176

Details

Jenkins Pipeline: Groovy Plugin 2648.va9433432b33c and earlier follows symbolic links to locations outside of the checkout directory for the configured SCM when reading the script file (typically Jenkinsfile) for Pipelines, allowing attackers able to configure Pipelines to read arbitrary files on the Jenkins controller file system.

Affected packages

EcosystemPackageAffected versions
Mavenorg.jenkins-ci.plugins.workflow:workflow-cps
From 2.93 before 2.94.1 (fixed in 2.94.1)
Mavenorg.jenkins-ci.plugins.workflow:workflow-cps
All versions before 2.92.1 (fixed in 2.92.1)
Mavenorg.jenkins-ci.plugins.workflow:workflow-cps
From 2.95 before 2648.2651.v230593e03e9f (fixed in 2648.2651.v230593e03e9f)

References