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.
Remediation
References
https://jenkins.io/security/advisory/2018-10-10/#SECURITY-867
Related Vulnerabilities
CVE-2015-5207 Vulnerability in npm package cordova-ios
CVE-2018-1000185 Vulnerability in maven package org.jenkins-ci.plugins:github-branch-source
CVE-2023-26473 Vulnerability in maven package org.xwiki.platform:xwiki-platform-web-templates
CVE-2019-10396 Vulnerability in maven package org.jenkins-ci.plugins:dashboard-view
CVE-2020-7961 Vulnerability in maven package com.liferay.portal:portal-impl