GitHub Advisory Database
GHSA-2m9w-9xh2-wxc3
Link Following in Jenkins Pipeline Multibranch Plugin
Details
Jenkins Pipeline: Multibranch Plugin prior to 2.23.1, 2.26.1, 696.698.v9b4218eea50f, and 707.v71c3f0a_6ccdb_ follows symbolic links to locations outside of the checkout directory for the configured SCM when reading files using the readTrusted step, allowing attackers able to configure Pipelines permission to read arbitrary files on the Jenkins controller file system.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.jenkins-ci.plugins.workflow:workflow-multibranch | From 2.24 before 2.26.1 (fixed in 2.26.1) |
| Maven | org.jenkins-ci.plugins.workflow:workflow-multibranch | All versions before 2.23.1 (fixed in 2.23.1) |
| Maven | org.jenkins-ci.plugins.workflow:workflow-multibranch | From 696.v52535c46f4c9 before 696.698.v9b4218eea50f (fixed in 696.698.v9b4218eea50f) |
| Maven | org.jenkins-ci.plugins.workflow:workflow-multibranch | From 706.vd43c65dec013 before 707.v71c3f0a (fixed in 707.v71c3f0a) |