HIGH 8.0

CVE-2022-43408

Jenkins Pipeline: Stage View Plugin allows CSRF protection bypass of any target URL in Jenkins

Description

Jenkins Pipeline: Stage View Plugin provides a visualization of Pipeline builds. It also allows users to interact with input steps from Pipeline: Input Step Plugin.

Pipeline: Stage View Plugin 2.26 and earlier does not correctly encode the ID of input steps when using it to generate URLs to proceed or abort Pipeline builds.

This allows attackers able to configure Pipelines to specify input step IDs resulting in URLs that would bypass the CSRF protection of any target URL in Jenkins.

Pipeline: Stage View Plugin 2.27 correctly encodes the ID of input steps when using it to generate URLs to proceed or abort Pipeline builds.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.jenkins-ci.plugins.pipeline-stage-view » pipeline-stage-view
< 2.24.2>= 2.25, < 2.27
2.24.2, 2.27

Blast radius

1affected artifacts
177affected versions
30dependent artifacts (est.)
293dependent versions

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

DepthDependent versions
Direct
25
2 hops
267
3 hops
1

Most used dependents

Computed from the dependency graph of build 20261202.2045 (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.