CVE-2022-34177: Path Traversal
A flaw was found in the Pipeline Input Step Plugin. This issue affects the code of the component Archive File Handler. The manipulation of the argument file with a malicious input leads to a directory traversal vulnerability.
Other sources
Jenkins Pipeline: Input Step Plugin 448.v37cea9a10a70 and earlier 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, allowing attackers able to configure Pipelines to create or replace arbitrary files on the Jenkins controller file system with attacker-specified content.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/jenkinsto a version that resolves this vulnerability.Fixed in 2-plugins-0:4.10.1663147786-1.el8 - Upgrade
Upgrade
redhat/jenkinsto a version that resolves this vulnerability.Fixed in 2-plugins-0:4.8.1672842762-1.el8 - Upgrade
Upgrade
redhat/jenkinsto a version that resolves this vulnerability.Fixed in 2-plugins-0:4.9.1669894222-1.el8 - Upgrade
Upgrade
redhat/Pipeline Input Step Pluginto a version that resolves this vulnerability.Fixed in 449.
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2022-34177?
CVE-2022-34177 is classified as a directory traversal vulnerability affecting Jenkins Pipeline: Input Step Plugin.
How do I fix CVE-2022-34177?
To fix CVE-2022-34177, upgrade to Jenkins Pipeline: Input Step Plugin version 449 or later.
Which versions are affected by CVE-2022-34177?
CVE-2022-34177 affects Jenkins Pipeline: Input Step Plugin versions up to and including 448.v37cea_9a_10a_70.
What type of vulnerability is CVE-2022-34177?
CVE-2022-34177 is a directory traversal vulnerability due to malicious input in the Archive File Handler component.
Who is affected by CVE-2022-34177?
Users of Jenkins with the Pipeline: Input Step Plugin version 448.v37cea_9a_10a_70 or earlier are affected by CVE-2022-34177.