Skip to content
OpenAdvisories
High · 8.8 CVE-2022-34177 EUVD-2022-5891GHSA-29q6-p2cg-4v23

Arbitrary file write vulnerability in Jenkins Pipeline: Input Step Plugin

Published Jun 22, 2022 · Updated Aug 3, 2024 · Assigned by jenkins

Description

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.

Affected products

VendorProductAffectedFixed
Jenkins project Jenkins Pipeline: Input Step Plugin unspecified – ≤ 448.v37cea_9a_10a_70 447.449.v193fd29f6021

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat OpenShift 4 jenkins 2.361.1.1672840472-1.el8 RHSA-2023:0017
Red Hat OpenShift 4 jenkins-2-plugins 4.8.1672842762-1.el8 RHSA-2023:0017, RHSA-2022:9110, RHSA-2022:6531

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.plugins:pipeline-input-step < 449.v77f0e8b 449.v77f0e8b GHSA-29q6-p2cg-4v23

Advisories 4

References