CVE-2018-1000997 json
Improper Limitation of a Pathname to a Restricted Directory in Jenkins
published 7y ago modified 4mo 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
Is CVE-2018-1000997 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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 jenkinsaffected: 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 morefixed: vendor fix RHBA-2018:3743
-
Red Hat OpenShift Container Platform 4 jenkinsnot 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-09).
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
-
github.com
/jenkinsci/jenkins/commit/fd5f5be0304c6bf1918892b81e2efb6b6d09c521
web
-
github.com
/jenkinsci/stapler/commit/0dfc28aa2102a59638484fc11c4c53b1dbb2baf0
web
-
jenkins.io
/security/advisory/2018-10-10/#SECURITY-867
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-1000997
advisory
-
github.com
/jenkinsci/jenkins
package
Sources
- CVE List CVE-2018-1000997
- GitHub Advisory GHSA-5hfp-964w-5vgm
- NVD CVE-2018-1000997
Fencer Intel 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.