🛡️ CVE-2018-1000997 — jenkins-core
Description
Improper Limitation of a Pathname to a Restricted Directory in Jenkins
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.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity none, availability none.
Weakness class
CVE-2018-1000997 is classified as CWE-22: Path Traversal. A file path built from user input is not confined to the intended directory, letting an attacker reach files elsewhere on the filesystem.
Affected software
CVE-2018-1000997 is recorded against 2 packages.
- org.jenkins-ci.main:jenkins-core (from 2.140 up to 2.146)
- org.kohsuke.stapler:stapler-parent (fixed in 1.250.2)
Timeline and source
Published on 14 May 2022 and last revised on 16 February 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Package)
jenkins.io (Web)
Details
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| org.jenkins-ci.main:jenkins-core | 2.140 | 2.146 |
| org.kohsuke.stapler:stapler-parent | — | 1.250.2 |
References
Similar Threats
- Low CVE-2011-4344
- Unknown CVE-2013-2034
- Low CVE-2013-5573
- Unknown CVE-2013-7330
- Unknown CVE-2014-2058
More CVE 2018 advisories
Browse all of CVE 2018 in the advisory index.
Free Vulnerability Check
Is your site affected by CVE-2018-1000997?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2018-1000997 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.