CVE-2022-34177 json
Arbitrary file write vulnerability in Jenkins Pipeline: Input Step Plugin
published 2022-06-22 4 y ago modified 2026-06-17 4 mo ago also GHSA-29q6-p2cg-4v23 , EUVD-2022-5891
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
Jenkins Pipeline: Input Step Plugin 448.v37cea_9a_10a_70 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.
Patch / fix
- maven org.jenkins-ci.plugins:pipeline-input-step 449.v77f0e8b
- Jenkins project Jenkins Pipeline: Input Step Plugin 2.12.2, 447.449.v193fd29f6021
- jenkins openshift 4.8 2.361.1.1672840472-1.el8
- jenkins-2-plugins openshift 4.8 4.8.1672842762-1.el8
- jenkins-2-plugins openshift 4.9 4.9.1669894222-1.el8
- jenkins-2-plugins openshift 4.10 4.10.1663147786-1.el8
red hat advisories RHSA-2023:0017RHSA-2022:9110RHSA-2022:6531
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-34177 updated cvss 7.5
jenkins-plugin: Arbitrary file write vulnerability in Pipeline Input Step Plugin
-
Red Hat OpenShift Container Platform 3.11 jenkins-2-pluginsaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4.8 jenkins-2-plugins 4.8.1672842762-1.el8fixed: vendor fix RHSA-2023:0017
-
Red Hat OpenShift Container Platform 4.9 jenkins-2-plugins 4.9.1669894222-1.el8fixed: vendor fix RHSA-2022:9110
-
Red Hat OpenShift Container Platform 4.10 jenkins-2-plugins 4.10.1663147786-1.el8fixed: vendor fix RHSA-2022:6531
-
Red Hat OpenShift Container Platform 4.8 jenkins 2.361.1.1672840472-1.el8 Red Hat OpenShift Container Platform 4.9 jenkins 2.361.1.1669892772-1.el8, cri-o 1.22.5-16.rhaos4.9.git88e9cdc.el7, cri-o 1.22.5-16.rhaos4.9.git88e9cdc.el8, openshift 4.9.0-202211302226.p0.gc763d11.assembly.stream.el7, openshift 4.9.0-202211302226.p0.gc763d11.assembly.stream.el8, openshift-clients 4.9.0-202212060855.p0.g88cfeb4.assembly.stream.el7, +5 more Red Hat OpenShift Container Platform 4.10 jenkins 2.346.3.1663151230-1.el8, cri-o 1.23.3-17.rhaos4.10.git016b1ca.el7, cri-o 1.23.3-17.rhaos4.10.git016b1ca.el8, python-sushy 4.1.2-0.20220913104404.1ae8e49.el8, python3-sushy 4.1.2-0.20220913104404.1ae8e49.el8, openstack-ironic 19.0.1-0.20220907234401.d85d7f8.el8, +5 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.70% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins:pipeline-input-step | <449.v77f0e8b |
449.v77f0e8b |
Affected products
- Jenkins project Jenkins Pipeline: Input Step Plugin
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
Sources
- CVE List CVE-2022-34177
- GitHub Advisory GHSA-29q6-p2cg-4v23
- NVD CVE-2022-34177
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.