{"id":"CVE-2018-6356","published":"2018-02-20T15:00:00Z","modified":"2024-08-05T06:01:48Z","title":"Jenkins before 2.107 and Jenkins LTS before 2.89.4 did not properly prevent specifying relative paths that escape a…","vendor":null,"product":null,"tier":"tail","description":{"text":"Jenkins before 2.107 and Jenkins LTS before 2.89.4 did not properly prevent specifying relative paths that escape a base directory for URLs accessing plugin resource files. This allowed users with Overall/Read permission to download files from the Jenkins master they should not have access to. On Windows, any file accessible to the Jenkins master process could be downloaded. On other operating systems, any file within the Jenkins home directory accessible to the Jenkins master process could be downloaded.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03855,"percentile":0.9041,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2018/02/14/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/103037","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC"]},{"url":"https://jenkins.io/security/advisory/2018-02-14/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":18.08}]},"affected":[{"ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","vulnerableRanges":["<2.89.4",">=2.90, <2.107"],"patched":["2.89.4","2.107"],"from":["GHSA-5p59-v5wm-77v4"],"provenance":"source"}],"summary":{"text":"The flaw is a path traversal weakness in Jenkins (before 2.107 and Jenkins LTS before 2.89.4), where URLs that access plugin resource files did not properly block relative paths that escape the intended base directory. An attacker who holds the Overall/Read permission can exploit it to download files from the Jenkins master that they should not be able to reach: on Windows, any file the Jenkins master process can access, and on other operating systems, any file within the Jenkins home directory that the process can access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:25:42Z"},"euvd":{"id":"EUVD-2022-2623","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-org-jenkins-ci-main-jenkins-core-cve-2014-3667","parents":[{"from":"CVE-2014-3667","to":"CVE-2018-6356","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/src/main/java/hudson/Plugin.java"],"commits":["https://github.com/jenkinsci/jenkins/commit/f0a29b562e14d837912c6b35fa4e81478563813a","https://github.com/jenkinsci/jenkins/commit/9de62915807deab61d6e780eed660428f9889b51","https://github.com/jenkinsci/jenkins/commit/eb03a42078f29dbed3742b8740c95e02890e4545"],"basis":"shared function","functions":["configure"]}]},{"from":"CVE-2018-1000068","to":"CVE-2018-6356","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/src/main/java/hudson/Plugin.java"],"commits":["https://github.com/jenkinsci/jenkins/commit/8830d68f5fe21f344be3496984bc4470bfcd0564","https://github.com/jenkinsci/jenkins/commit/9de62915807deab61d6e780eed660428f9889b51","https://github.com/jenkinsci/jenkins/commit/eb03a42078f29dbed3742b8740c95e02890e4545"],"basis":"shared function","functions":["configure"]}]}],"children":[{"from":"CVE-2018-6356","to":"CVE-2018-1999006","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/src/main/java/hudson/Plugin.java"],"commits":["https://github.com/jenkinsci/jenkins/commit/f46842c7a2c916170ac457a039a2f7f019afd885","https://github.com/jenkinsci/jenkins/commit/9de62915807deab61d6e780eed660428f9889b51","https://github.com/jenkinsci/jenkins/commit/eb03a42078f29dbed3742b8740c95e02890e4545"],"basis":"shared function","functions":["doDynamic"]}]}],"packageHistory":[{"cve":"CVE-2017-1000504","published":"2018-01-24","fixed":"2.95","kev":false,"link":{"from":"CVE-2017-1000504","to":"CVE-2018-6356","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.jenkins-ci.main:jenkins-core","fromFixed":"2.89.2","toFixed":"2.89.4","daysApart":27}]}},{"cve":"CVE-2018-1000067","published":"2018-02-16","fixed":"2.107","kev":false},{"cve":"CVE-2018-1000068","published":"2018-02-16","fixed":"2.107","kev":false},{"cve":"CVE-2018-6356","published":"2018-02-20","fixed":"2.107","kev":false},{"cve":"CVE-2018-1000169","published":"2018-04-13","fixed":"2.116","kev":false,"link":{"from":"CVE-2018-6356","to":"CVE-2018-1000169","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.jenkins-ci.main:jenkins-core","fromFixed":"2.107","toFixed":"2.107.2","daysApart":52}]}},{"cve":"CVE-2018-1000170","published":"2018-04-13","fixed":"2.116","kev":false,"link":{"from":"CVE-2018-6356","to":"CVE-2018-1000170","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.jenkins-ci.main:jenkins-core","fromFixed":"2.107","toFixed":"2.107.2","daysApart":52}]}},{"cve":"CVE-2018-1000192","published":"2018-06-05","fixed":"2.121","kev":false}],"package":"Maven:org.jenkins-ci.main:jenkins-core"}}