CVE-2022-25179
Link Following in Jenkins Pipeline Multibranch Plugin
Description
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins.workflow » workflow-multibranch | < 2.23.1>= 2.24, < 2.26.1>= 696.v52535c46f4c9, < 696.698.v9b4218eea50f>= 706.vd43c65dec013, < 707.v71c3f0a | 2.23.1, 2.26.1, 696.698.v9b4218eea50f, 707.v71c3f0a |
Blast radius
32% of the dependent artifacts (35) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 3,817 |
| 2 hops | 4,954 |
| 3 hops | 105 |
Most used dependents
- org.jenkins-ci.plugins.workflow » workflow-aggregator136 usages
- org.jenkins-ci.plugins » token-macro134 usages
- io.jenkins » configuration-as-code108 usages
- org.jenkinsci.plugins » pipeline-model-definition68 usages
- io.jenkins.plugins » warnings-ng12 usages
- io.jenkins.blueocean » blueocean-rest-impl12 usages
- org.jenkins-ci.plugins » docker-workflow11 usages
- io.jenkins.blueocean » blueocean-pipeline-api-impl9 usages
- io.jenkins.plugins » code-coverage-api9 usages
- io.jenkins.plugins » forensics-api8 usages
- org.jenkins-ci.plugins » cobertura7 usages
- io.jenkins.blueocean » blueocean-events4 usages
- io.jenkins.jenkinsfile-runner » payload-dependencies4 usages
- org.jenkins-ci.plugins » github-oauth4 usages
- io.jenkins.plugins » pipeline-as-yaml4 usages
Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2022-25179 | nvd.nist.gov |
| Web | CVEProject/cvelist CVE-2022-25179.json | github.com |
| Web | security/advisory/2022-02-15 | jenkins.io |
