MODERATE 6.5

CVE-2022-25176

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

Description

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.jenkins-ci.plugins.workflow » workflow-cps
< 2.92.1>= 2.93, < 2.94.1>= 2.95, < 2648.2651.v230593e03e9f
2.92.1, 2.94.1, 2648.2651.v230593e03e9f

Blast radius

1affected artifacts
599affected versions
224dependent artifacts (est.)
13,988dependent versions

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

DepthDependent versions
Direct
6,375
2 hops
6,995
3 hops
595
4 hops
23

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
Packagegithub.com
Webjenkins.io