Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.kohsuke.stapler/stapler-parent
  4. ›
  5. CVE-2018-1000997

CVE-2018-1000997: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

May 14, 2022 (updated December 21, 2023)

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.

References

  • github.com/advisories/GHSA-5hfp-964w-5vgm
  • github.com/jenkinsci/jenkins/commit/fd5f5be0304c6bf1918892b81e2efb6b6d09c521
  • github.com/jenkinsci/stapler/commit/0dfc28aa2102a59638484fc11c4c53b1dbb2baf0
  • jenkins.io/security/advisory/2018-10-10/
  • nvd.nist.gov/vuln/detail/CVE-2018-1000997

Code Behaviors & Features

Detect and mitigate CVE-2018-1000997 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.250.2

Fixed versions

  • 1.250.2

Solution

Upgrade to version 1.250.2 or above.

Impact 6.5 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

maven/org.kohsuke.stapler/stapler-parent/CVE-2018-1000997.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:35 +0000.