Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2019-10392 EUVD-2022-4225GHSA-hw6x-2qwv-rxr7

Improper Neutralization of Special Elements used in an OS Command in Jenkins Git Client Plugin

Published Sep 12, 2019 · Updated Aug 4, 2024 · Assigned by jenkins

Description

Jenkins Git Client Plugin 2.8.4 and earlier and 3.0.0-rc did not properly restrict values passed as URL argument to an invocation of 'git ls-remote', resulting in OS command injection.

Affected products

VendorProductAffectedFixed
Jenkins project Jenkins Git Client Plugin 2.8.4 and earlier, 3.0.0-rc —

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 atomic-enterprise-service-catalog +1 1:4.1.37-202003020601.git.0.5784dc4.el7 RHBA-2020:0690, RHBA-2020:0527, RHBA-2020:0522
Red Hat OpenShift 4 atomic-openshift-service-idler 4.2.20-202002170402.git.1.43218bc.el7 RHBA-2020:0527, RHBA-2020:0522
Red Hat OpenShift 4 cri-o 1.13.12-6.dev.rhaos4.1.git8abaaeb.el7 RHBA-2020:0690, RHBA-2020:0527, RHBA-2020:0522
Red Hat OpenShift 4 cri-tools 1.17.0-1.el8 RHBA-2020:0527
Red Hat OpenShift 4 dracut +7 049-64.git20200123.el8 RHBA-2020:0527
Red Hat OpenShift 4 jenkins 2.204.1.1581950993-1.el7 RHBA-2020:0690, RHBA-2020:0527, RHBA-2020:0522
Red Hat OpenShift 4 jenkins-2-plugins 4.1.1583850385-1.el7 RHBA-2020:0690, RHBA-2020:0527, RHBA-2020:0522
Red Hat OpenShift 4 machine-config-daemon 4.2.20-202002170402.git.1.a83336a.el8 RHBA-2020:0527, RHBA-2020:0522
Red Hat OpenShift 4 openshift +3 4.1.37-202002280447.git.0.543873e.el7 RHBA-2020:0690, RHBA-2020:0527, RHBA-2020:0522
Red Hat OpenShift 4 openshift-ansible 4.1.37-202002280447.git.1.bb180eb.el7 RHBA-2020:0690, RHBA-2020:0527, RHBA-2020:0522
Red Hat OpenShift 4 openshift-ansible-test 4.3.3-202002142331.git.173.bb0b5a1.el7 RHBA-2020:0527
Red Hat OpenShift 4 openshift-kuryr +4 4.2.20-202002140432.git.1.d9a72a5.el7 RHBA-2020:0527, RHBA-2020:0522
Red Hat OpenShift 4 podman +1 1.0.2-3.dev.git96ccc2e.el8_0 RHBA-2020:0690
Red Hat OpenShift 4 python3-kuryr-kubernetes 4.3.3-202002170501.git.1.3b8b4cc.el8 RHBA-2020:0527
Red Hat OpenShift 4 runc 1.0.0-63.rc8.rhaos4.1.git3cbe540.el8_0 RHBA-2020:0690
Red Hat OpenShift 4 skopeo +1 1:0.1.32-6.git1715c90.el8_0 RHBA-2020:0690
Red Hat OpenShift 4 slirp4netns 0.4.2-4.git21fdece.el8 RHBA-2020:0527
Red Hat OpenShift 4 toolbox 0.0.6-1.rhaos4.3.el8 RHBA-2020:0527
Red Hat OpenShift 3 jenkins-2-plugins 3.11.1591354111-1.el7 RHSA-2020:2478

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.

GitHub 3 repositories

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:git-client < 2.8.5 2.8.5 GHSA-hw6x-2qwv-rxr7

Advisories 4

References