Skip to content
OpenAdvisories
Medium · 6.5 CVE-2018-1000406 EUVD-2022-2226GHSA-3pr8-rf62-g893

Path Traversal in Jenkins

Published Jan 9, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

A path traversal vulnerability exists in Jenkins 2.145 and earlier, LTS 2.138.1 and earlier in core/src/main/java/hudson/model/FileParameterValue.java that allows attackers with Job/Configure permission to define a file parameter with a file name outside the intended directory, resulting in an arbitrary file write on the Jenkins master when scheduling a build.

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 3 atomic-enterprise-service-catalog +1 1:3.11.51-1.git.1671.2d16650.el7 RHBA-2018:3743
Red Hat OpenShift 3 atomic-openshift +12 3.11.51-1.git.0.1560686.el7 RHBA-2018:3743
Red Hat OpenShift 3 atomic-openshift-cluster-autoscaler 3.11.51-1.git.0.0aa9fc2.el7 RHBA-2018:3743
Red Hat OpenShift 3 atomic-openshift-descheduler 3.11.51-1.git.300.89070e8.el7 RHBA-2018:3743
Red Hat OpenShift 3 atomic-openshift-dockerregistry 3.11.51-1.git.446.d29ce0e.el7 RHBA-2018:3743
Red Hat OpenShift 3 atomic-openshift-metrics-server 3.11.51-1.git.52.03e3a91.el7 RHBA-2018:3743
Red Hat OpenShift 3 atomic-openshift-node-problem-detector 3.11.51-1.git.254.22189b0.el7 RHBA-2018:3743
Red Hat OpenShift 3 atomic-openshift-service-idler 3.11.51-1.git.14.813574a.el7 RHBA-2018:3743
Red Hat OpenShift 3 atomic-openshift-web-console 3.11.51-1.git.324.0ae64ed.el7 RHBA-2018:3743
Red Hat OpenShift 3 cri-o 1.11.10-1.rhaos3.11.git42c86f0.el7 RHBA-2018:3743
Red Hat OpenShift 3 golang-github-openshift-oauth-proxy 3.11.51-1.git.419.1af74df.el7 RHBA-2018:3743
Red Hat OpenShift 3 jenkins 2.138.2.1542054911-1.el7 RHBA-2018:3743
Red Hat OpenShift 3 jenkins-2-plugins 3.11.1542061886-1.el7 RHBA-2018:3743
Red Hat OpenShift 3 kibana 5.6.13-1.el7 RHBA-2018:3743
Red Hat OpenShift 3 openshift-ansible +4 3.11.51-2.git.0.51c90a3.el7 RHBA-2018:3743
Red Hat OpenShift 3 openshift-enterprise-autoheal 3.11.51-1.git.219.8ea4275.el7 RHBA-2018:3743
Red Hat OpenShift 3 openshift-enterprise-cluster-capacity 3.11.51-1.git.380.ffa21af.el7 RHBA-2018:3743
Red Hat OpenShift 3 openshift-monitor-project-lifecycle 3.11.51-1.git.59.7b59e29.el7 RHBA-2018:3743
Red Hat OpenShift 3 openshift-monitor-sample-app 3.11.51-1.git.5.f6d0188.el7 RHBA-2018:3743
Red Hat OpenShift 3 prometheus +1 3.11.51-1.git.5023.0ad933c.el7 RHBA-2018:3743
Red Hat OpenShift 3 prometheus-alertmanager +1 3.11.51-1.git.0.50a0687.el7 RHBA-2018:3743
Red Hat OpenShift 3 prometheus-node-exporter +1 3.11.51-1.git.1063.12dd8be.el7 RHBA-2018:3743

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.main:jenkins-core < 2.138.2 2.138.2 GHSA-3pr8-rf62-g893
Maven org.jenkins-ci.main:jenkins-core >= 2.140, < 2.146 2.146 GHSA-3pr8-rf62-g893

Advisories 1

References