HIGH 8.8

CVE-2022-34177

Arbitrary file write vulnerability in Jenkins Pipeline: Input Step Plugin

Description

Pipeline: Input Step Plugin 448.v37cea_9a_10a_70 and earlier allows Pipeline authors to specify file parameters for Pipeline input steps even though they are unsupported. Although the uploaded file is not copied to the workspace, Jenkins archives the file on the controller as part of build metadata using the parameter name without sanitization as a relative path inside a build-related directory.

This allows attackers able to configure Pipelines to create or replace arbitrary files on the Jenkins controller file system with attacker-specified content.

Pipeline: Input Step Plugin 449.v77f0e8b_845c4 prohibits use of file parameters for Pipeline input steps. Attempts to use them will fail Pipeline execution.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.jenkins-ci.plugins » pipeline-input-step
< 449.v77f0e8b
449.v77f0e8b

Blast radius

1affected artifacts
117affected versions
77dependent artifacts (est.)
8,290dependent versions

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

DepthDependent versions
Direct
1,912
2 hops
5,903
3 hops
423
4 hops
46
5 hops
6

Most used dependents

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