PT-2022-22044 · Jenkins · Jenkins Pipeline: Input Step Plugin+1
Daniel Beck
·
Published
2022-06-22
·
Updated
2023-11-03
·
CVE-2022-34177
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Jenkins Pipeline: Input Step Plugin versions 448.v37cea 9a 10a 70 and earlier
Description
The issue allows attackers who can configure Pipelines to create or replace arbitrary files on the Jenkins controller file system with attacker-specified content. This is because the plugin archives files uploaded for
file parameters for Pipeline input steps on the controller as part of build metadata, using the parameter name without sanitization as a relative path inside a build-related directory.Recommendations
For Jenkins Pipeline: Input Step Plugin versions 448.v37cea 9a 10a 70 and earlier, update to version 449.v77f0e8b 845c4 or later, which prohibits the use of
file parameters for Pipeline input steps.
As a temporary workaround, consider restricting the ability to configure Pipelines to trusted users until the update is applied.Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jenkins
Jenkins Pipeline: Input Step Plugin