Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2022-25175 EUVD-2022-1130GHSA-pj84-qjm3-77mg

Jenkins Pipeline: Multibranch Plugin vulnerable to OS Command Injection

Published Feb 15, 2022 · Updated Aug 3, 2024 · Assigned by jenkins

Description

Jenkins Pipeline: Multibranch Plugin 706.vd43c65dec013 and earlier uses the same checkout directories for distinct SCMs for the readTrusted step, allowing attackers with Item/Configure permission to invoke arbitrary OS commands on the controller through crafted SCM contents.

Affected products

VendorProductAffectedFixed
Jenkins project Jenkins Pipeline: Multibranch Plugin unspecified – ≤ 706.vd43c65dec013 2.26.1

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 cri-o 1.21.5-3.rhaos4.8.gitaf64931.el7 RHSA-2022:0871
Red Hat OpenShift 4 haproxy +1 2.0.16-3.el7 RHSA-2022:1620, RHSA-2022:1021
Red Hat OpenShift 4 haproxy22 2.2.15-4.el8 RHSA-2022:1021
Red Hat OpenShift 4 jenkins-2-plugins 4.6.1650364520-1.el8 RHSA-2022:1620, RHSA-2022:1248, RHSA-2022:1025
Red Hat OpenShift 3 jenkins 2.319.3.1650348949-1.el7 RHSA-2022:1420
Red Hat OpenShift 3 jenkins-2-plugins 3.11.1650371376-1.el7 RHSA-2022:1420

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.plugins.workflow:workflow-multibranch < 707.v71c3f0a_6ccdb 707.v71c3f0a_6ccdb GHSA-pj84-qjm3-77mg

Advisories 6

References