MODERATE 6.5

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)

ArtifactAffected versionsFixed 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

1affected artifacts
124affected versions
108dependent artifacts (est.)
8,876dependent versions

32% of the dependent artifacts (35) still pull an affected version in their latest release.

DepthDependent versions
Direct
3,817
2 hops
4,954
3 hops
105

Most used dependents

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

Advisorynvd.nist.gov
Webgithub.com
Webjenkins.io