Skip to content
Fencer Vulns
medium 6.5

CVE-2018-1000997 json

Improper Limitation of a Pathname to a Restricted Directory in Jenkins

published 2019-01-23 7 y ago modified 2026-06-17 4 mo ago also GHSA-5hfp-964w-5vgm , EUVD-2022-2595

cvss
6.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.3%
EPSS 3.3% chance of exploitation in 30 days, percentile 88%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.jenkins-ci.main:jenkins-core 2.138.2, 2.146
  • maven org.kohsuke.stapler:stapler-parent 1.250.2
  • cri-o openshift 3.11 1.11.10-1.rhaos3.11.git42c86f0.el7
  • kibana openshift 3.11 5.6.13-1.el7
  • jenkins openshift 3.11 2.138.2.1542054911-1.el7
  • prometheus openshift 3.11 3.11.51-1.git.5023.0ad933c.el7
  • atomic-openshift openshift 3.11 3.11.51-1.git.0.1560686.el7
  • jenkins-2-plugins openshift 3.11 3.11.1542061886-1.el7
  • openshift-ansible openshift 3.11 3.11.51-2.git.0.51c90a3.el7
  • atomic-openshift-pod openshift 3.11 3.11.51-1.git.0.1560686.el7

red hat advisories RHBA-2018:3743

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-1000997 updated cvss 6.5

jenkins: Path traversal vulnerability in Stapler allowed accessing internal data

  • Red Hat OpenShift Container Platform 3.4 jenkins Red Hat OpenShift Container Platform 3.5 jenkins Red Hat OpenShift Container Platform 3.6 jenkins Red Hat OpenShift Container Platform 3.7 jenkins Red Hat OpenShift Container Platform 3.9 jenkins Red Hat OpenShift Container Platform 3.10 jenkins
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 3.11 kibana 5.6.13-1.el7, jenkins 2.138.2.1542054911-1.el7, jenkins-2-plugins 3.11.1542061886-1.el7, cri-o 1.11.10-1.rhaos3.11.git42c86f0.el7, prometheus 3.11.51-1.git.5023.0ad933c.el7, atomic-openshift 3.11.51-1.git.0.1560686.el7, +35 more
    fixed: vendor fix RHBA-2018:3743
  • Red Hat OpenShift Container Platform 4 jenkins
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.26% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 6.5 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 4.0 AV:N/AC:L/Au:S/C:P/I:N/A:N
GitHub 3.0 6.5 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.jenkins-ci.main:jenkins-core
<2.138.2
>=2.140, <2.146
2.138.2
2.146
maven org.kohsuke.stapler:stapler-parent
<1.250.2
1.250.2

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.