WaratekVRT Sign in

CVE-2018-1000997 Jenkins

Affected softwareJenkins
Severity6.5 Medium CVSS 3.0 2 scores
Fixed in2.138.2, 2.146
WeaknessPath traversal (CWE-22)
Published23 Jan 2019
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 7 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 3.3% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.

How to mitigate CVE-2018-1000997

Upgrade Jenkins to a release that fixes it: 2.138.2 or 2.146. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

6.5 MEDIUM v3.0 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 6.5 MEDIUM CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N NVD Primary published
CVSS 2.0 4.0 none AV:N/AC:L/Au:S/C:P/I:N/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.jenkins-ci.main:jenkins-core 0 2.138.2 unbounded
org.jenkins-ci.main:jenkins-core 2.140 2.146 unbounded
org.kohsuke.stapler:stapler-parent 0 1.250.2 unbounded

Products and versions

3 products, 5 version entries
SourceVendorProductSchemeAffected versions
nvd jenkins jenkins generic ≤ 2.138.1 · ≤ 2.145
osv org.jenkins-ci.main jenkins-core generic < 2.138.2 · ≥ 2.140 and < 2.146
osv org.kohsuke.stapler stapler-parent generic < 1.250.2

References

URLTags
https://github.com/jenkinsci/jenkins/commit/fd5f5be0304c6bf1918892b81e2efb6b6d09c521 WEB
https://github.com/jenkinsci/stapler/commit/0dfc28aa2102a59638484fc11c4c53b1dbb2baf0 WEB
https://github.com/jenkinsci/jenkins PACKAGE
https://jenkins.io/security/advisory/2018-10-10/#SECURITY-867 WEB

Timeline

Published2019-01-23By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.