CVE-2022-34177 – org.jenkins-ci.plugins:pipeline-input-step
Package
Manager: maven
Name: org.jenkins-ci.plugins:pipeline-input-step
Vulnerable Version: >=0 <449.v77f0e8b
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00081 pctl0.24681
Details
Arbitrary file write vulnerability in Jenkins Pipeline: Input Step Plugin 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.
Metadata
Created: 2022-06-24T00:00:31Z
Modified: 2022-12-05T23:27:46Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-29q6-p2cg-4v23/GHSA-29q6-p2cg-4v23.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-29q6-p2cg-4v23
Finding: F063
Auto approve: 1