Description
A path traversal vulnerability exists in the Stapler web framework used by Jenkins 2.145 and earlier, LTS 2.138.1 and earlier in core/src/main/java/org/kohsuke/stapler/Facet.java, groovy/src/main/java/org/kohsuke/stapler/jelly/groovy/GroovyFacet.java, jelly/src/main/java/org/kohsuke/stapler/jelly/JellyFacet.java, jruby/src/main/java/org/kohsuke/stapler/jelly/jruby/JRubyFacet.java, jsp/src/main/java/org/kohsuke/stapler/jsp/JSPFacet.java that allows attackers to render routable objects using any view in Jenkins, exposing internal information about those objects not intended to be viewed, such as their toString() representation.
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.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.jenkins-ci.main:jenkins-core | < 2.138.2 | 2.138.2 | GHSA-5hfp-964w-5vgm |
| Maven | org.jenkins-ci.main:jenkins-core | >= 2.140, < 2.146 | 2.146 | GHSA-5hfp-964w-5vgm |
| Maven | org.kohsuke.stapler:stapler-parent | < 1.250.2 | 1.250.2 | GHSA-5hfp-964w-5vgm |
Advisories 1
- RHBA-2018:3743 Red Hat Bug Fix Advisory: OpenShift Container Platform 3.11 bug fix and enhancement update Red Hat Security Advisories (RHSA) · Jun 27, 2026